svn commit: samba r18668 - in branches/SAMBA_4_0/source/torture/rpc: .

metze at samba.org metze at samba.org
Tue Sep 19 01:34:54 GMT 2006


Author: metze
Date: 2006-09-19 01:34:53 +0000 (Tue, 19 Sep 2006)
New Revision: 18668

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18668

Log:
fix ref pointer related bugs, we should watch the compiler warnings!
only cc on us4 bailed out...

metze
Modified:
   branches/SAMBA_4_0/source/torture/rpc/remact.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/remact.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/remact.c	2006-09-19 01:28:25 UTC (rev 18667)
+++ branches/SAMBA_4_0/source/torture/rpc/remact.c	2006-09-19 01:34:53 UTC (rev 18668)
@@ -58,8 +58,8 @@
 		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 @@
 		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;
 	}
 



More information about the samba-cvs mailing list