nwrap: fix a copy and paste error in the destructor.
authorMichael Adam <obnox@samba.org>
Fri, 20 Nov 2015 08:01:01 +0000 (09:01 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 20 Nov 2015 08:06:35 +0000 (09:06 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/nss_wrapper.c

index 914cd26e3fbd9f7ebbdab1b9bca8b24fceff4a0c..a6ca81637ffe3dda29b361a6855a5da37f5afe3c 100644 (file)
@@ -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) {