diff options
author | Luke Leighton <lkcl@samba.org> | 1999-07-26 18:35:46 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-07-26 18:35:46 +0000 |
commit | 73a0c9f04673499d7248f1b49d59f859649be11b (patch) | |
tree | ad9e4aa1a41f36fd06930a06b0a9db75ed4ffa69 /source3 | |
parent | d300fc317319ac9b83f7475532847fb23b1d7ea6 (diff) | |
download | samba-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.c | 2 |
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; } |