summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/remact.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/remact.c b/source4/torture/rpc/remact.c
index 2fbb5de33e..9d725893c9 100644
--- a/source4/torture/rpc/remact.c
+++ b/source4/torture/rpc/remact.c
@@ -57,8 +57,8 @@ static int test_RemoteActivation(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
return 0;
}
- if(!W_ERROR_IS_OK(W_ERROR(r.out.hr))) {
- fprintf(stderr, "RemoteActivation: %s\n", win_errstr(W_ERROR(r.out.hr)));
+ if(!W_ERROR_IS_OK(r.out.hr)) {
+ fprintf(stderr, "RemoteActivation: %s\n", win_errstr(r.out.hr));
return 0;
}