r25493: Fix typo in Jeremy's thread-safe winbind patch:
authorJim McDonough <jmcd@samba.org>
Wed, 3 Oct 2007 20:56:29 +0000 (20:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:31:09 +0000 (12:31 -0500)
lock->unlock (would have tried to lock a mutex
at the end of a function).  Cut-n-paste error.
(This used to be commit 281c6191547c352a51d73920c7a31d9236b37351)

source3/nsswitch/winbind_nss_linux.c

index 6de419da5a21a584df92adeb135f77a509993721..7322da000110f3fd011bac7da28d7c869007d992 100644 (file)
@@ -1347,7 +1347,7 @@ _nss_winbind_sidtogid(const char *sid, gid_t *gid, int *errnop)
 failed:
 
 #if HAVE_PTHREAD
-       pthread_mutex_lock(&winbind_nss_mutex);
+       pthread_mutex_unlock(&winbind_nss_mutex);
 #endif
 
        return ret;