svn commit: samba r7155 - in trunk/source/nsswitch: .

jerry at samba.org jerry at samba.org
Tue May 31 22:02:46 GMT 2005


Author: jerry
Date: 2005-05-31 22:02:44 +0000 (Tue, 31 May 2005)
New Revision: 7155

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

Log:
a little bit of paranoia until we gain more confidence in the fd_events list
Modified:
   trunk/source/nsswitch/winbindd.c


Changeset:
Modified: trunk/source/nsswitch/winbindd.c
===================================================================
--- trunk/source/nsswitch/winbindd.c	2005-05-31 20:35:05 UTC (rev 7154)
+++ trunk/source/nsswitch/winbindd.c	2005-05-31 22:02:44 UTC (rev 7155)
@@ -355,8 +355,12 @@
 	/* only add unique fd_event structs */
 
 	for (match=fd_events; match; match=match->next ) {
+#ifdef DEVELOPER
+		SMB_ASSERT( match != ev );
+#else
 		if ( match == ev )
 			return;
+#endif
 	}
 
 	DLIST_ADD(fd_events, ev);



More information about the samba-cvs mailing list