1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00

one line merge from APP_HEAD

(This used to be commit b6b64d06a6)
This commit is contained in:
Gerald Carter 2002-08-08 22:17:42 +00:00
parent 1492a040ee
commit 6633633f7d

View File

@ -1012,7 +1012,7 @@ static int file_version_is_newer(connection_struct *conn, fstring new_file,
}
close_file(fsp, True);
if (use_version) {
if (use_version && (new_major != old_major || new_minor != old_minor)) {
/* Compare versions and choose the larger version number */
if (new_major > old_major ||
(new_major == old_major && new_minor > old_minor)) {