summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-01-31 17:11:58 +0000
committerTim Potter <tpot@samba.org>2001-01-31 17:11:58 +0000
commitfd3e20a278385c03527f9348992b753f5e20b21f (patch)
tree477c06e8f78552c64ba20e91c61572b1b5b770ef
parent2537e2362053aaf263cbcbdc783f9d7a7dd8189f (diff)
downloadsamba-fd3e20a278385c03527f9348992b753f5e20b21f.tar.gz
samba-fd3e20a278385c03527f9348992b753f5e20b21f.tar.bz2
samba-fd3e20a278385c03527f9348992b753f5e20b21f.zip
Missing sys_endpwent() call in get_passwd_entries()
(This used to be commit a86f219f2f63f63e43d5b99e3d190a536954d400)
-rw-r--r--source3/rpc_server/srv_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c
index 857581a471..e92658ea4d 100644
--- a/source3/rpc_server/srv_samr.c
+++ b/source3/rpc_server/srv_samr.c
@@ -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;
}