summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2007-10-03 20:56:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:09 -0500
commit7c4df041a66e9d9913dec3008ae3ef4f74c5e505 (patch)
tree8a8471d175b575402c09febb69ae99bdcc71c271 /source3/nsswitch
parent0d87820380416955a132d565a479b4234f78c113 (diff)
downloadsamba-7c4df041a66e9d9913dec3008ae3ef4f74c5e505.tar.gz
samba-7c4df041a66e9d9913dec3008ae3ef4f74c5e505.tar.bz2
samba-7c4df041a66e9d9913dec3008ae3ef4f74c5e505.zip
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)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbind_nss_linux.c2
1 files changed, 1 insertions, 1 deletions
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;