summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-16 23:00:40 +0100
committerAurelien Foret <aurelien@archlinux.org>2005-03-16 23:00:40 +0100
commit2b63d0103db404dd03def3b263c635b23eda065d (patch)
tree6971cbac0d6cbb8a3f9c971c92cd1540340b37b4
parentd2ce029a58a9431afa9c29503f6f92d83e10fb3d (diff)
downloadpacman-2b63d0103db404dd03def3b263c635b23eda065d.tar.gz
pacman-2b63d0103db404dd03def3b263c635b23eda065d.tar.xz
Added a missing FtpQuit() call
-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) {