mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
Added a missing FtpQuit() call
This commit is contained in:
parent
d2ce029a58
commit
2b63d0103d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user