nwrap: fix a copy and paste error in the destructor.
[obnox/samba/samba-obnox.git] / lib / nss_wrapper / 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) {