diff src/uicommon/gftpui.c @ 451:83cfffb2878a

2004-3-26 Brian Masney <masneyb@gftp.org> * lib/ftps.c lib/gftp.h lib/rfc959.c - when reestablishing a connection to a FTPS host, make sure the initial commands are sent over in plaintext * lib/protocols.c - make sure the port is displayed to the user in the proper byte order when getaddrinfo() is not included on the system * lib/misc.c (gftp_copy_request) - make sure req->init is not NULL before attempting to initialize the new request structure. This fixes a segfault that happened when viewing/editing a local file (from Chelban Vasile <mail4509@pochtamt.ru>) * docs/website/generate-gftp-website.pl - updated the STABLE_I386DEB filename * docs/website/index.html.in - updated the main website * docs/website/announce.txt - announcement for the 2.0.17 release
author masneyb
date Fri, 26 Mar 2004 21:03:51 +0000
parents 9d03253b00d0
children 2ad1916dc611
line wrap: on
line diff
--- a/src/uicommon/gftpui.c	Wed Mar 24 11:06:41 2004 +0000
+++ b/src/uicommon/gftpui.c	Fri Mar 26 21:03:51 2004 +0000
@@ -92,7 +92,7 @@
 {
   int ret;
 
-  if (gftpui_check_reconnect (cdata) < 0)
+  if (!cdata->dont_check_connection && gftpui_check_reconnect (cdata) < 0)
     return (0);
 
   if (gftp_protocols[cdata->request->protonum].use_threads)
@@ -647,6 +647,7 @@
   cdata->uidata = uidata;
   cdata->run_function = gftpui_common_run_connect;
   cdata->retries = retries;
+  cdata->dont_check_connection = 1;
 
   gftpui_common_run_callback_function (cdata);