index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/download.c | 1 |
diff --git a/src/pacman/download.c b/src/pacman/download.c index 4f17753d..8fbcd647 100644 --- a/src/pacman/download.c +++ b/src/pacman/download.c @@ -158,6 +158,7 @@ int downloadfiles(list_t *servers, const char *localpath, list_t *files) if(!FtpChdir(server->path, control)) { fprintf(stderr, "error: could not cwd to %s: %s\n", server->path, FtpLastResponse(control)); + FtpQuit(control); continue; } if(!pmo_nopassiveftp) { |