From: Michael Adam Date: Fri, 20 Nov 2015 08:01:01 +0000 (+0100) Subject: nwrap: fix a copy and paste error in the destructor. X-Git-Url: http://git.samba.org/?p=obnox%2Fsamba%2Fsamba-obnox.git;a=commitdiff_plain;h=766e795518127bf0febd3c0da436adb1a376771d nwrap: fix a copy and paste error in the destructor. Signed-off-by: Michael Adam Reviewed-by: Andreas Schneider --- diff --git a/lib/nss_wrapper/nss_wrapper.c b/lib/nss_wrapper/nss_wrapper.c index 914cd26e3fb..a6ca81637ff 100644 --- a/lib/nss_wrapper/nss_wrapper.c +++ b/lib/nss_wrapper/nss_wrapper.c @@ -5560,7 +5560,7 @@ void nwrap_destructor(void) c->fd = -1; } - nwrap_he_global.num = 0; + nwrap_sp_global.num = 0; } if (nwrap_he_global.cache != NULL) {