Mercurial > gftp.yaz
diff lib/sshv2.c @ 309:cc2eeb30b793
2003-11-7 Brian Masney <masneyb@gftp.org>
* lib/gftp.h lib/local.c lib/protocols.c lib/rfc2068.c lib/rfc959.c
lib/sshv2.c - added copy_param_options method to gftp_request
structure. When a gftp_request structure is copied, if a
copy_param_options method exists, this will be called so that the
local protocol data can be copied over. This is only used by the
FTP protocol at the moment to save the current state of Ascii or
Binary transfers.
* src/gtk/transfer.c (transfer_done) - when a transfer is
completed, copy the local protocol options back to the main window
* lib/rfc959.c (gftp_set_data_type) - check the return value of
rfc959_send_command() and if there is an error, return that
error.
* configure.in - added 'hr' to ALL_LINGUAS
author | masneyb |
---|---|
date | Sat, 08 Nov 2003 12:23:21 +0000 |
parents | 51725086634d |
children | 3e6d0c26e37b |
line wrap: on
line diff
--- a/lib/sshv2.c Fri Nov 07 18:10:04 2003 +0000 +++ b/lib/sshv2.c Sat Nov 08 12:23:21 2003 +0000 @@ -2263,6 +2263,7 @@ request->protonum = GFTP_SSHV2_NUM; request->init = sshv2_init; + request->copy_param_options = NULL; request->destroy = sshv2_destroy; request->read_function = gftp_fd_read; request->write_function = gftp_fd_write;