From 2b63d0103db404dd03def3b263c635b23eda065d Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Wed, 16 Mar 2005 22:00:40 +0000 Subject: Added a missing FtpQuit() call --- src/pacman/download.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pacman') 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) { -- cgit v1.2.3-70-g09d2