diff options
author | Jeremy Allison <jra@samba.org> | 1999-12-21 19:14:17 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1999-12-21 19:14:17 +0000 |
commit | 44dc314fea03d23b137fb6f2f51a271e6c0ed1c2 (patch) | |
tree | 6c79e9e2d3664825b93cd15b8b208cfed9af687d | |
parent | d171864c93c9772414fbe10219e9a19744a5a3be (diff) | |
download | samba-44dc314fea03d23b137fb6f2f51a271e6c0ed1c2.tar.gz samba-44dc314fea03d23b137fb6f2f51a271e6c0ed1c2.tar.bz2 samba-44dc314fea03d23b137fb6f2f51a271e6c0ed1c2.zip |
Changed MAX to MIN in SET_FILE_BASIC_INFO as recommended by "Michael C. Adler" <Michael.Adler@compaq.com>
as this breaks the least number of programs.
Jeremy.
(This used to be commit 2cf408772f7b763a484fdd893da28999c8f9d025)
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index bbbfda7468..9811a9ff01 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1706,7 +1706,7 @@ static int call_trans2setfilepathinfo(connection_struct *conn, write_time = interpret_long_date(pdata+16); changed_time = interpret_long_date(pdata+24); - tvs.modtime = MAX(write_time, changed_time); + tvs.modtime = MIN(write_time, changed_time); /* Prefer a defined time to an undefined one. */ if (tvs.modtime == (time_t)0 || tvs.modtime == (time_t)-1) |