summaryrefslogtreecommitdiffstats
path: root/source/lib/util.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-11 23:54:40 +0000
committerJeremy Allison <jra@samba.org>2002-12-11 23:54:40 +0000
commitec4ed45563f9d8e25fcfd88840944a90b3139c3e (patch)
treed64c3cac0e88f8c79ca2e91ab8010393c01259e7 /source/lib/util.c
parente258887f508db3d2c923f393f0104e7cf1bd6545 (diff)
downloadsamba-ec4ed45563f9d8e25fcfd88840944a90b3139c3e.tar.gz
samba-ec4ed45563f9d8e25fcfd88840944a90b3139c3e.tar.xz
samba-ec4ed45563f9d8e25fcfd88840944a90b3139c3e.zip
Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy.
Diffstat (limited to 'source/lib/util.c')
-rw-r--r--source/lib/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index a83e17c661f..0adfe34032d 100644
--- a/source/lib/util.c
+++ b/source/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
}
/****************************************************************************