summaryrefslogtreecommitdiff
path: root/source3
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
commit73a0c9f04673499d7248f1b49d59f859649be11b (patch)
treead9e4aa1a41f36fd06930a06b0a9db75ed4ffa69 /source3
parentd300fc317319ac9b83f7475532847fb23b1d7ea6 (diff)
downloadsamba-73a0c9f04673499d7248f1b49d59f859649be11b.tar.gz
samba-73a0c9f04673499d7248f1b49d59f859649be11b.tar.bz2
samba-73a0c9f04673499d7248f1b49d59f859649be11b.zip
Jean-Francois spotted bug in use of file_modified() routine submitted
recently. (This used to be commit 717af2d55d4f964c0449a1e502b6e77d1c3f3f30)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_file.c b/source3/lib/util_file.c
index 5861314c02..f4325b813b 100644
--- a/source3/lib/util_file.c
+++ b/source3/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;
}