summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-19 01:34:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:00 -0500
commit906a74040adb1f911c651168fadbbd2e248b7cc1 (patch)
tree8995ae58a95788674433273204bc0f3e5c4f0899 /source4
parent4209af5a84baddd8537f3658975af3e068034c89 (diff)
downloadsamba-906a74040adb1f911c651168fadbbd2e248b7cc1.tar.gz
samba-906a74040adb1f911c651168fadbbd2e248b7cc1.tar.bz2
samba-906a74040adb1f911c651168fadbbd2e248b7cc1.zip
r18668: fix ref pointer related bugs, we should watch the compiler warnings!
only cc on us4 bailed out... metze (This used to be commit 35da9e4f4ff6082ea938c9c72992015f8b26280c)
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;
}