summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-24 15:23:02 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-24 15:23:02 +0100
commit3be6258912939fb538d7bcb492483ae2ab52391b (patch)
tree8626d8f99114d8d389f460ef6467513a4465b661 /source3/smbd
parent14fdc1c5cd4ca0b3f88b2d407d40ba5be7218085 (diff)
downloadsamba-3be6258912939fb538d7bcb492483ae2ab52391b.tar.gz
samba-3be6258912939fb538d7bcb492483ae2ab52391b.tar.bz2
samba-3be6258912939fb538d7bcb492483ae2ab52391b.zip
lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/ntquotas.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/ntquotas.c b/source3/smbd/ntquotas.c
index 147f95adf3..15fd35b92e 100644
--- a/source3/smbd/ntquotas.c
+++ b/source3/smbd/ntquotas.c
@@ -176,8 +176,8 @@ int vfs_get_user_ntquota_list(files_struct *fsp, SMB_NTQUOTA_LIST **qt_list)
return (-1);
}
- sys_setpwent();
- while ((usr = sys_getpwent()) != NULL) {
+ setpwent();
+ while ((usr = getpwent()) != NULL) {
SMB_NTQUOTA_STRUCT tmp_qt;
SMB_NTQUOTA_LIST *tmp_list_ent;
struct dom_sid sid;
@@ -222,7 +222,7 @@ int vfs_get_user_ntquota_list(files_struct *fsp, SMB_NTQUOTA_LIST **qt_list)
DLIST_ADD((*qt_list),tmp_list_ent);
}
- sys_endpwent();
+ endpwent();
return 0;
}