comparison src/gtk/gtkui.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 1f9c6baa458c
children
comparison
equal deleted inserted replaced
923:70b7e6663a05 924:f37091406523
472 gftp_delete_cache_entry (wdata->request, NULL, 1); 472 gftp_delete_cache_entry (wdata->request, NULL, 1);
473 gftp_disconnect (wdata->request); 473 gftp_disconnect (wdata->request);
474 remove_files_window (wdata); 474 remove_files_window (wdata);
475 475
476 /* Free the request structure so that all old settings are purged. */ 476 /* Free the request structure so that all old settings are purged. */
477 gftp_request_destroy (wdata->request, 1); 477 gftp_request_destroy (wdata->request, 0);
478 gftp_gtk_init_request (wdata); 478 gftp_gtk_init_request (wdata);
479 479
480 update_window_info (); 480 update_window_info ();
481 } 481 }
482 482