From 906a74040adb1f911c651168fadbbd2e248b7cc1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 19 Sep 2006 01:34:53 +0000 Subject: 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) --- source4/torture/rpc/remact.c | 8 ++++---- 1 file 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; } -- cgit