svn commit: samba r21116 - in branches/SAMBA_3_0/source/torture: .

vlendec at samba.org vlendec at samba.org
Thu Feb 1 22:06:59 GMT 2007


Author: vlendec
Date: 2007-02-01 22:06:59 +0000 (Thu, 01 Feb 2007)
New Revision: 21116

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

Log:
Fix the build -- sorry!
Modified:
   branches/SAMBA_3_0/source/torture/msgtest.c


Changeset:
Modified: branches/SAMBA_3_0/source/torture/msgtest.c
===================================================================
--- branches/SAMBA_3_0/source/torture/msgtest.c	2007-02-01 19:29:07 UTC (rev 21115)
+++ branches/SAMBA_3_0/source/torture/msgtest.c	2007-02-01 22:06:59 UTC (rev 21116)
@@ -101,10 +101,14 @@
 
 		printf("Sending pings for %d seconds\n", (int)timelimit);
 		while (timeval_elapsed(&tv) < timelimit) {		
-			if(message_send_pid(pid_to_procid(pid), MSG_PING,
-					    buf, 11, False)) ping_count++;
-			if(message_send_pid(pid_to_procid(pid), MSG_PING,
-					    NULL, 0, False)) ping_count++;
+			if(NT_STATUS_IS_OK(message_send_pid(pid_to_procid(pid),
+							    MSG_PING,
+							    buf, 11, False)))
+			   ping_count++;
+			if(NT_STATUS_IS_OK(message_send_pid(pid_to_procid(pid),
+							    MSG_PING,
+							    NULL, 0, False)))
+			   ping_count++;
 
 			while (ping_count > pong_count + 20) {
 				message_dispatch();



More information about the samba-cvs mailing list