summaryrefslogtreecommitdiffstats
path: root/source/lib/util_file.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-26 18:35:46 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-26 18:35:46 +0000
commit717af2d55d4f964c0449a1e502b6e77d1c3f3f30 (patch)
tree4b45799be160c49183b0901257b0a6a7bef643f5 /source/lib/util_file.c
parentfd886af3317ca806c9c28f71afca5c7b063c1226 (diff)
downloadsamba-717af2d55d4f964c0449a1e502b6e77d1c3f3f30.tar.gz
samba-717af2d55d4f964c0449a1e502b6e77d1c3f3f30.tar.xz
samba-717af2d55d4f964c0449a1e502b6e77d1c3f3f30.zip
Jean-Francois spotted bug in use of file_modified() routine submitted
recently.
Diffstat (limited to 'source/lib/util_file.c')
-rw-r--r--source/lib/util_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util_file.c b/source/lib/util_file.c
index 5861314c020..f4325b813bb 100644
--- a/source/lib/util_file.c
+++ b/source/lib/util_file.c
@@ -351,7 +351,7 @@ void *open_file_if_modified(const char *filename, char *mode, time_t *lastmodifi
{
FILE *f;
- if (file_modified(filename, lastmodified))
+ if (!file_modified(filename, lastmodified))
{
return NULL;
}