mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
parent
1492a040ee
commit
6633633f7d
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user