svn commit: samba r17119 - in branches/tmp/vl-messaging/source/lib: .

vlendec at samba.org vlendec at samba.org
Tue Jul 18 15:12:50 GMT 2006


Author: vlendec
Date: 2006-07-18 15:12:49 +0000 (Tue, 18 Jul 2006)
New Revision: 17119

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

Log:
AIX does not have MSG_DONTWAIT, the socket is nonblocking anyway
Modified:
   branches/tmp/vl-messaging/source/lib/messages_dgram.c


Changeset:
Modified: branches/tmp/vl-messaging/source/lib/messages_dgram.c
===================================================================
--- branches/tmp/vl-messaging/source/lib/messages_dgram.c	2006-07-18 15:09:53 UTC (rev 17118)
+++ branches/tmp/vl-messaging/source/lib/messages_dgram.c	2006-07-18 15:12:49 UTC (rev 17119)
@@ -94,7 +94,7 @@
 		goto fail;
 	}
 
-	received = recv(fd, result.data, result.length, MSG_DONTWAIT);
+	received = recv(fd, result.data, result.length, 0);
 	if (received != msglength) {
 		DEBUG(0, ("Received different length (%d) than announced "
 			  "(%d)\n", received, msglength));



More information about the samba-cvs mailing list