# HG changeset patch # User masneyb # Date 1066005678 0 # Node ID 470759f49ba2eaa54983bb3a3fc404d08148ec0f # Parent 9f121f62284be7cd5ed0a2b2d645bc8b5d6ede19 2003-10-12 Brian Masney * src/gtk/bookmarks.c - disconnect from the site before we parse the bookmarks (from Aurelien Jarno ) diff -r 9f121f62284b -r 470759f49ba2 ChangeLog --- 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 + * src/gtk/bookmarks.c - disconnect from the site before we parse the + bookmarks (from Aurelien Jarno ) + * 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 diff -r 9f121f62284b -r 470759f49ba2 src/gtk/bookmarks.c --- 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); }