index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/callback.c | 2 |
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index d0b7c409..36531a26 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -632,7 +632,7 @@ void cb_dl_progress(const char *filename, off_t file_xfered, off_t file_total) } /* bogus values : stop here */ - if(xfered > total) { + if(xfered > total || xfered < 0) { return; } |