diff lib/protocols.c @ 924:f37091406523

2007-5-18 Brian Masney <masneyb@gftp.org> * lib/protocols.c (gftp_request_destroy) - initialize the request->server_type if the request structure isn't destroyed. * src/gtk/gftp-gtk.c (gftp_gtk_init_request) - don't create a new request structure. * src/gtk/gtkui.c (gftpui_disconnect) - don't free the request structure.
author masneyb
date Sat, 19 May 2007 01:37:07 +0000
parents 70b7e6663a05
children 5b681cba67b2
line wrap: on
line diff
--- a/lib/protocols.c	Sat May 19 01:15:05 2007 +0000
+++ b/lib/protocols.c	Sat May 19 01:37:07 2007 +0000
@@ -79,6 +79,7 @@
     {
       request->datafd = -1;
       request->cachefd = -1;
+      request->server_type = GFTP_DIRTYPE_OTHER;
     }
 }