1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 07:48:50 -05:00

Added a missing FtpQuit() call

This commit is contained in:
Aurelien Foret 2005-03-16 22:00:40 +00:00
parent d2ce029a58
commit 2b63d0103d

View File

@ -158,6 +158,7 @@ int downloadfiles(list_t *servers, const char *localpath, list_t *files)
if(!FtpChdir(server->path, control)) { if(!FtpChdir(server->path, control)) {
fprintf(stderr, "error: could not cwd to %s: %s\n", server->path, fprintf(stderr, "error: could not cwd to %s: %s\n", server->path,
FtpLastResponse(control)); FtpLastResponse(control));
FtpQuit(control);
continue; continue;
} }
if(!pmo_nopassiveftp) { if(!pmo_nopassiveftp) {