Correct check to see if file changes.

Reported by:	swildner@DragonFlyBSD.org
Reviewed by:	des
This commit is contained in:
eadler 2013-06-02 18:10:07 +00:00
parent 0bf6af7fdd
commit d8d31fca62

View File

@ -565,7 +565,7 @@ fetch(char *URL, const char *path)
goto failure;
}
if (nsb.st_dev != sb.st_dev ||
nsb.st_ino != nsb.st_ino ||
nsb.st_ino != sb.st_ino ||
nsb.st_size != sb.st_size) {
warnx("%s: file has changed", URL);
fclose(of);