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

ab at samba.org ab at samba.org
Wed Jul 12 11:17:20 GMT 2006


Author: ab
Date: 2006-07-12 11:17:20 +0000 (Wed, 12 Jul 2006)
New Revision: 16978

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

Log:
clients_cache is always non-NULL because even if local users cease to exist, connections to remote dispatchers are still in use. Patch from Aleksey Fedoseev.
Modified:
   branches/tmp/vl-messaging/source/lib/messages_stream.c


Changeset:
Modified: branches/tmp/vl-messaging/source/lib/messages_stream.c
===================================================================
--- branches/tmp/vl-messaging/source/lib/messages_stream.c	2006-07-12 10:14:18 UTC (rev 16977)
+++ branches/tmp/vl-messaging/source/lib/messages_stream.c	2006-07-12 11:17:20 UTC (rev 16978)
@@ -901,6 +901,7 @@
 		DEBUG(5, ("Parent process died. \n"));
 		close(*parent);
 		*parent = -1;
+		return ;
 	}
 
 #ifdef WITH_CLUSTERWIDE_MESSAGING
@@ -1000,7 +1001,7 @@
 	is_lockd = True;
 #endif /* WITH_CLUSTERWIDE_MESSAGING */
 
-	while ((parent_pipe >= 0) || (clients_cache != NULL)) {
+	while (parent_pipe >= 0) {
 		dispatch_loop(&parent_pipe, fd, tcp_fd, is_lockd, &lockd_pid);
 	}
 



More information about the samba-cvs mailing list