From 7c4df041a66e9d9913dec3008ae3ef4f74c5e505 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Wed, 3 Oct 2007 20:56:29 +0000 Subject: r25493: 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. (This used to be commit 281c6191547c352a51d73920c7a31d9236b37351) --- source3/nsswitch/winbind_nss_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/nsswitch/winbind_nss_linux.c b/source3/nsswitch/winbind_nss_linux.c index 6de419da5a..7322da0001 100644 --- a/source3/nsswitch/winbind_nss_linux.c +++ b/source3/nsswitch/winbind_nss_linux.c @@ -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; -- cgit