Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/download.c1
1 files changed, 1 insertions, 0 deletions
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) {