diff src/gtk/dnd.c @ 67:aa971a4bb16f

2002-11-27 Brian Masney <masneyb@gftp.org> * Officially release 2.0.14rc1 * lib/cache.c - take out a warning message * lib/misc.c lib/protocols.c lib/gftp.h lib/gtk/dnd.c lib/transfer.c - add second argument (free_request) to gftp_request_destroy * lib/protocols.c (gftp_parse_url) - make sure the request structure is cleared before we start to modify it * src/gtk/gftp-text.c - fixed crash if you didn't enter a username
author masneyb
date Wed, 27 Nov 2002 14:29:57 +0000
parents 4b5fec7711e9
children e2b30d0c97a4
line wrap: on
line diff
--- a/src/gtk/dnd.c	Wed Nov 27 02:23:51 2002 +0000
+++ b/src/gtk/dnd.c	Wed Nov 27 14:29:57 2002 +0000
@@ -54,7 +54,7 @@
     {
       ftp_log (gftp_logging_misc, NULL, 
                _("Drag-N-Drop: Ignoring url %s: Not a valid url\n"), url);
-      gftp_request_destroy (current_ftpdata);
+      gftp_request_destroy (current_ftpdata, 1);
       free_fdata (newfle);
       return (0);
     }
@@ -62,7 +62,7 @@
   *pos++ = '\0';
   if (compare_request (current_ftpdata, wdata->request, 1))
     {
-      gftp_request_destroy (current_ftpdata);
+      gftp_request_destroy (current_ftpdata, 1);
       return (0);
     }
 
@@ -92,7 +92,7 @@
   templist->next = NULL;
   add_file_transfer (current_ftpdata, wdata->request, fromwdata,
                      wdata, templist, 1);
-  gftp_request_destroy (current_ftpdata);
+  gftp_request_destroy (current_ftpdata, 1);
 
   /* FIXME  resume files and download entire directories */