mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
Ticket #4572: code cleanup before 4.8.33 release.
(compare_files): fix coding style. Signed-off-by: Andrew Borodin <aborodin@vmail.ru> Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
511d4d853b
commit
c547894788
@ -194,7 +194,7 @@ compare_files (const vfs_path_t *vpath1, const vfs_path_t *vpath2, off_t size)
|
||||
;
|
||||
}
|
||||
while (n1 == n2 && n1 == sizeof (buf1) && memcmp (buf1, buf2, sizeof (buf1)) == 0);
|
||||
result = (n1 != n2) || memcmp (buf1, buf2, n1);
|
||||
result = (n1 != n2) || (memcmp (buf1, buf2, n1) != 0);
|
||||
rotate_dash (FALSE);
|
||||
|
||||
close (file2);
|
||||
|
Loading…
Reference in New Issue
Block a user