mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 08:18:51 -05:00
fixed a regression
This commit is contained in:
parent
4819d21c74
commit
a6923f9aae
@ -356,7 +356,7 @@ int downloadfiles_forreal(list_t *servers, const char *localpath,
|
|||||||
fprintf(stderr, "warning: failed to get filesize for %s\n", fn);
|
fprintf(stderr, "warning: failed to get filesize for %s\n", fn);
|
||||||
}
|
}
|
||||||
/* check mtimes */
|
/* check mtimes */
|
||||||
if(mtime1 && strlen(mtime1)) {
|
if(mtime1) {
|
||||||
char fmtime[64];
|
char fmtime[64];
|
||||||
if(!FtpModDate(fn, fmtime, sizeof(fmtime)-1, control)) {
|
if(!FtpModDate(fn, fmtime, sizeof(fmtime)-1, control)) {
|
||||||
fprintf(stderr, "warning: failed to get mtime for %s\n", fn);
|
fprintf(stderr, "warning: failed to get mtime for %s\n", fn);
|
||||||
|
Loading…
Reference in New Issue
Block a user