diff lib/rfc959.c @ 598:fa0838b22b14

2004-10-29 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/misc.c lib/protocols.c lib/rfc2068.c lib/rfc959.c lib/sshv2.c src/gtk/dnd.c src/gtk/view_dialog.c src/uicommon/gftpui.c src/uicommon/gftpuicallbacks.c - removed free_fdata(). Added free_it parameter to gftp_file_destroy()
author masneyb
date Fri, 29 Oct 2004 20:05:32 +0000
parents ce1e83470207
children b9e8b22bf3b1
line wrap: on
line diff
--- a/lib/rfc959.c	Wed Oct 27 22:18:30 2004 +0000
+++ b/lib/rfc959.c	Fri Oct 29 20:05:32 2004 +0000
@@ -1509,7 +1509,7 @@
                                           sizeof (tempstr));
       if (len <= 0)
 	{
-          gftp_file_destroy (fle);
+          gftp_file_destroy (fle, 0);
 	  return (len);
 	} 
 
@@ -1520,7 +1520,7 @@
 	    request->logging_function (gftp_logging_error, request,
 				       _("Warning: Cannot parse listing %s\n"),
 				       tempstr);
-	  gftp_file_destroy (fle);
+	  gftp_file_destroy (fle, 0);
 	  continue;
 	}
       else