summaryrefslogtreecommitdiff
path: root/source3/lib/util_getent.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-12 01:49:30 +0000
committerJeremy Allison <jra@samba.org>2001-06-12 01:49:30 +0000
commit2f99c0e602f4fe4d7a95e08d882a0669d9adad11 (patch)
tree44ec3ae64ac9f6712dda2373b7fc13c40ee77932 /source3/lib/util_getent.c
parent3fc8c04cc23e3eff3f3fc636a56b1acb8fb52a81 (diff)
downloadsamba-2f99c0e602f4fe4d7a95e08d882a0669d9adad11.tar.gz
samba-2f99c0e602f4fe4d7a95e08d882a0669d9adad11.tar.bz2
samba-2f99c0e602f4fe4d7a95e08d882a0669d9adad11.zip
lib/util_getent.c: removed debug code.
smbd/posix_acls.c: Attempt to fix the "lose default acl" problem in Solaris. Needs testing. lib/sysacls.c: Typo fix. Jeremy. (This used to be commit d989f8bd3e1524183a24fb67be1af05b3289f648)
Diffstat (limited to 'source3/lib/util_getent.c')
-rw-r--r--source3/lib/util_getent.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/lib/util_getent.c b/source3/lib/util_getent.c
index 610d31f0d5..5c1652f6bf 100644
--- a/source3/lib/util_getent.c
+++ b/source3/lib/util_getent.c
@@ -21,6 +21,7 @@
#include "includes.h"
+#if 0
static void print_grent_list(struct sys_grent *glist)
{
DEBUG(100, ("print_grent_list: %x\n", glist ));
@@ -40,6 +41,7 @@ static void print_grent_list(struct sys_grent *glist)
}
DEBUG(100,("FINISHED !\n\n"));
}
+#endif
/****************************************************************
Returns a single linked list of group entries.
@@ -108,8 +110,6 @@ struct sys_grent * getgrent_list(void)
}
endgrent();
- print_grent_list(glist);
- DEBUG(100,("getgrent_list returned %x\n", glist ));
return glist;
err:
@@ -127,12 +127,9 @@ struct sys_grent * getgrent_list(void)
void grent_free (struct sys_grent *glist)
{
- DEBUG(100,("getgrent_free %x\n", glist ));
while (glist) {
struct sys_grent *prev;
- print_grent_list(glist);
-
if (glist->gr_name)
free(glist->gr_name);
if (glist->gr_passwd)