[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba-cvs
Subject:    svn commit: samba r7155 - in trunk/source/nsswitch: .
From:       jerry () samba ! org
Date:       2005-05-31 22:02:46
Message-ID: 20050531220246.9A5AA163891 () lists ! samba ! org
[Download RAW message or body]

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);

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic