From a6923f9aae5465be45b4e716bd337eb40544f6cd Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Thu, 5 Jan 2006 19:49:08 +0000 Subject: fixed a regression --- src/pacman/download.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-24-g4f1b