index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-05 19:49:08 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-05 19:49:08 +0000 |
commit | a6923f9aae5465be45b4e716bd337eb40544f6cd (patch) | |
tree | 0d103db72763d56b140a26379ebee5fb5abaeb98 /src | |
parent | 4819d21c74609de165361695427e89fbd796079d (diff) |
-rw-r--r-- | src/pacman/download.c | 2 |
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); |