svn commit: samba r25493 - in branches: SAMBA_3_2/source/nsswitch SAMBA_3_2_0/source/nsswitch

jmcd at samba.org jmcd at samba.org
Wed Oct 3 20:56:31 GMT 2007


Author: jmcd
Date: 2007-10-03 20:56:29 +0000 (Wed, 03 Oct 2007)
New Revision: 25493

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

Log:
Fix typo in Jeremy's thread-safe winbind patch:
lock->unlock (would have tried to lock a mutex 
at the end of a function).  Cut-n-paste error.

Modified:
   branches/SAMBA_3_2/source/nsswitch/winbind_nss_linux.c
   branches/SAMBA_3_2_0/source/nsswitch/winbind_nss_linux.c


Changeset:
Modified: branches/SAMBA_3_2/source/nsswitch/winbind_nss_linux.c
===================================================================
--- branches/SAMBA_3_2/source/nsswitch/winbind_nss_linux.c	2007-10-03 20:43:55 UTC (rev 25492)
+++ branches/SAMBA_3_2/source/nsswitch/winbind_nss_linux.c	2007-10-03 20:56:29 UTC (rev 25493)
@@ -1347,7 +1347,7 @@
 failed:
 
 #if HAVE_PTHREAD
-	pthread_mutex_lock(&winbind_nss_mutex);
+	pthread_mutex_unlock(&winbind_nss_mutex);
 #endif
 
 	return ret;

Modified: branches/SAMBA_3_2_0/source/nsswitch/winbind_nss_linux.c
===================================================================
--- branches/SAMBA_3_2_0/source/nsswitch/winbind_nss_linux.c	2007-10-03 20:43:55 UTC (rev 25492)
+++ branches/SAMBA_3_2_0/source/nsswitch/winbind_nss_linux.c	2007-10-03 20:56:29 UTC (rev 25493)
@@ -1347,7 +1347,7 @@
 failed:
 
 #if HAVE_PTHREAD
-	pthread_mutex_lock(&winbind_nss_mutex);
+	pthread_mutex_unlock(&winbind_nss_mutex);
 #endif
 
 	return ret;



More information about the samba-cvs mailing list