Mercurial > gftp.yaz
diff lib/sshv2.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 | 81b957b00691 |
| children | 4ab29ec829bf |
line wrap: on
line diff
--- a/lib/sshv2.c Wed Oct 27 22:18:30 2004 +0000 +++ b/lib/sshv2.c Fri Oct 29 20:05:32 2004 +0000 @@ -1351,14 +1351,14 @@ _("Warning: Cannot parse listing %s\n"), longname); - gftp_file_destroy (fle); + gftp_file_destroy (fle, 0); return (ret); } if ((ret = sshv2_decode_file_attributes (request, ¶ms->message, fle)) < 0) { - gftp_file_destroy (fle); + gftp_file_destroy (fle, 0); return (ret); } @@ -1704,7 +1704,7 @@ message.pos += 4; if ((ret = sshv2_decode_file_attributes (request, &message, fle)) < 0) { - gftp_file_destroy (fle); + gftp_file_destroy (fle, 0); return (ret); } @@ -1727,7 +1727,7 @@ return (ret); *mode = fle.st_mode; - gftp_file_destroy (&fle); + gftp_file_destroy (&fle, 0); return (0); } @@ -1746,7 +1746,7 @@ return (ret); size = fle.size; - gftp_file_destroy (&fle); + gftp_file_destroy (&fle, 0); return (size); }
