summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/remact.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/remact.c b/source4/torture/rpc/remact.c
index 067073f501..b893471290 100644
--- a/source4/torture/rpc/remact.c
+++ b/source4/torture/rpc/remact.c
@@ -58,8 +58,8 @@ static int test_RemoteActivation(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
return 0;
}
- if(!W_ERROR_IS_OK(r.out.hr)) {
- printf("RemoteActivation: %s\n", win_errstr(r.out.hr));
+ if(!W_ERROR_IS_OK(*r.out.hr)) {
+ printf("RemoteActivation: %s\n", win_errstr(*r.out.hr));
return 0;
}
@@ -83,8 +83,8 @@ static int test_RemoteActivation(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
return 0;
}
- if(!W_ERROR_IS_OK(r.out.hr)) {
- printf("RemoteActivation(GetClassObject): %s\n", win_errstr(r.out.hr));
+ if(!W_ERROR_IS_OK(*r.out.hr)) {
+ printf("RemoteActivation(GetClassObject): %s\n", win_errstr(*r.out.hr));
return 0;
}