summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-11 23:54:46 +0000
committerJeremy Allison <jra@samba.org>2002-12-11 23:54:46 +0000
commit7dd847ba9c10be196b5d02f9593c642666855470 (patch)
treed8075361fa9e53f24ae0e07633751ad645547275 /source3/lib/util.c
parentf7267c1235ae1b8c6a7324d508f5d435ff18de50 (diff)
downloadsamba-7dd847ba9c10be196b5d02f9593c642666855470.tar.gz
samba-7dd847ba9c10be196b5d02f9593c642666855470.tar.bz2
samba-7dd847ba9c10be196b5d02f9593c642666855470.zip
Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy. (This used to be commit ff3a8d37289216a2cb808406044a7abef1e564d0)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index a83e17c661..0adfe34032 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -710,6 +710,7 @@ void make_dir_struct(char *buf,char *mask,char *fname,SMB_OFF_T size,int mode,ti
void close_low_fds(BOOL stderr_too)
{
+#ifndef VALGRIND
int fd;
int i;
@@ -737,6 +738,7 @@ void close_low_fds(BOOL stderr_too)
return;
}
}
+#endif
}
/****************************************************************************