Missing sys_endpwent() call in get_passwd_entries()
authorTim Potter <tpot@samba.org>
Wed, 31 Jan 2001 17:11:58 +0000 (17:11 +0000)
committerTim Potter <tpot@samba.org>
Wed, 31 Jan 2001 17:11:58 +0000 (17:11 +0000)
source/rpc_server/srv_samr.c

index 857581a4718ebea6cc5b7a41b44bbd67d02d0ec9..e92658ea4d23bcc13ad70a134f0d6988df489b03 100644 (file)
@@ -339,7 +339,7 @@ static BOOL get_passwd_entries(SAM_USER_INFO_21 *pw_buf,
 
        if (pwd == NULL) {
                /* totally done, reset everything */
-               endpwent();
+               sys_endpwent();
                current_idx = 0;
                mapped_idx = 0;
        }