diff lib/protocols.c @ 811:789ff8cb3170

2006-9-14 Brian Masney <masneyb@gftp.org> * src/uicommon/gftpui.c - added _do_transfer_file(). This will take care of the actual file transfer. It will also make sure that the entire buffer has been transmitted properly. * lib/protocols.c lib/rfc959.c (*_put_next_file_chunk) - removed unneeded code that checks for a block size of 0 * lib/rfc959.c (rfc959_syst) - disable show_hidden_files and resolve_remote_symlinks if the remote system type is OS/400.
author masneyb
date Thu, 14 Sep 2006 09:07:29 +0000
parents d59f62126c97
children 11159114bb97
line wrap: on
line diff
--- a/lib/protocols.c	Wed Sep 13 20:50:45 2006 +0000
+++ b/lib/protocols.c	Thu Sep 14 09:07:29 2006 +0000
@@ -295,9 +295,6 @@
   if (request->put_next_file_chunk != NULL)
     return (request->put_next_file_chunk (request, buf, size));
 
-  if (size == 0)
-    return (0);
-
   return (request->write_function (request, buf, size, request->datafd));
 }