summaryrefslogtreecommitdiff
path: root/source/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
commitd989f8bd3e1524183a24fb67be1af05b3289f648 (patch)
tree7a95f0b8d3cf6f70a5b9e6921a8c1e00124b0077 /source/lib/util_getent.c
parente0f88cabfc5ef480e7f8a7fecd2d12a1b4371a2a (diff)
downloadsamba-d989f8bd3e1524183a24fb67be1af05b3289f648.tar.gz
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.
Diffstat (limited to 'source/lib/util_getent.c')
-rw-r--r--source/lib/util_getent.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/lib/util_getent.c b/source/lib/util_getent.c
index 610d31f0d5b..5c1652f6bf5 100644
--- a/source/lib/util_getent.c
+++ b/source/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)