Mercurial > gftp.yaz
changeset 285:470759f49ba2
2003-10-12 Brian Masney <masneyb@gftp.org>
* src/gtk/bookmarks.c - disconnect from the site before we parse the
bookmarks (from Aurelien Jarno <lists@aurel32.net>)
author | masneyb |
---|---|
date | Mon, 13 Oct 2003 00:41:18 +0000 |
parents | 9f121f62284b |
children | de030cbd432c |
files | ChangeLog src/gtk/bookmarks.c |
diffstat | 2 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Oct 13 00:24:06 2003 +0000 +++ b/ChangeLog Mon Oct 13 00:41:18 2003 +0000 @@ -1,4 +1,7 @@ 2003-10-12 Brian Masney <masneyb@gftp.org> + * src/gtk/bookmarks.c - disconnect from the site before we parse the + bookmarks (from Aurelien Jarno <lists@aurel32.net>) + * lib/sshv2.c - fixed crash when deleting subdirectories with the SSH2 protocol. @@ -1548,7 +1551,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.146 2003/10/13 00:24:05 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.147 2003/10/13 00:41:17 masneyb Exp $ tags * debian/* - updated files from Debian maintainer
--- a/src/gtk/bookmarks.c Mon Oct 13 00:24:06 2003 +0000 +++ b/src/gtk/bookmarks.c Mon Oct 13 00:41:18 2003 +0000 @@ -41,6 +41,9 @@ return; } + if (GFTP_IS_CONNECTED (current_wdata->request)) + disconnect (current_wdata); + if (gftp_parse_bookmark (current_wdata->request, other_wdata->request, (char *) data, &refresh_local) < 0) return; @@ -48,9 +51,6 @@ if (refresh_local) refresh (other_wdata); - if (GFTP_IS_CONNECTED (current_wdata->request)) - disconnect (current_wdata); - ftp_connect (current_wdata, current_wdata->request, 1); }