diff lib/sshv2.c @ 230:f330309d2f17

2003-7-23 Brian Masney <masneyb@gftp.org> * configure.in - incremented version to 2.0.15rc1. Also, if readline wasn't found on the system, the text port wasn't be built * ChangeLog-old - added summary of changes since version 2.0.14 * TODO - updated * src/text/gftp-text.c - build fixes if readline isn't present on the system * lib/sshv2.c - don't print out the network error as well when getting the error message from the remote server. The user is only interested in the error returned from the server.
author masneyb
date Thu, 24 Jul 2003 01:48:33 +0000
parents a85a097bbb02
children b8d14c2c3097
line wrap: on
line diff
--- a/lib/sshv2.c	Wed Jul 23 02:39:24 2003 +0000
+++ b/lib/sshv2.c	Thu Jul 24 01:48:33 2003 +0000
@@ -638,7 +638,7 @@
 
           request->logging_function (gftp_logging_error, request, "%s", buf);
 
-          while ((numread = gftp_fd_read (request, error_buffer, 
+          while ((numread = gftp_fd_read (NULL, error_buffer, 
                                           sizeof (error_buffer) - 1, 
                                           fd)) > 0)
             {