diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-05 20:49:08 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-05 20:49:08 +0100 |
commit | a6923f9aae5465be45b4e716bd337eb40544f6cd (patch) | |
tree | 0d103db72763d56b140a26379ebee5fb5abaeb98 /src | |
parent | 4819d21c74609de165361695427e89fbd796079d (diff) | |
download | pacman-a6923f9aae5465be45b4e716bd337eb40544f6cd.tar.gz pacman-a6923f9aae5465be45b4e716bd337eb40544f6cd.tar.xz |
fixed a regression
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/download.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/download.c b/src/pacman/download.c index 9ea92836..3e44b921 100644 --- a/src/pacman/download.c +++ b/src/pacman/download.c @@ -356,7 +356,7 @@ int downloadfiles_forreal(list_t *servers, const char *localpath, fprintf(stderr, "warning: failed to get filesize for %s\n", fn); } /* check mtimes */ - if(mtime1 && strlen(mtime1)) { + if(mtime1) { char fmtime[64]; if(!FtpModDate(fn, fmtime, sizeof(fmtime)-1, control)) { fprintf(stderr, "warning: failed to get mtime for %s\n", fn); |