]> granicus.if.org Git - curl/commitdiff
another small fix to directory listing output; disabled CURL_LIBSSH2_DEBUG.
authorGunter Knauf <gk@gknw.de>
Sun, 28 Jan 2007 12:35:39 +0000 (12:35 +0000)
committerGunter Knauf <gk@gknw.de>
Sun, 28 Jan 2007 12:35:39 +0000 (12:35 +0000)
lib/ssh.c

index ed38802e364a9f8837761c2d427154ccdab7712d..47c3dd45f9a01adc4b88c81d62478116c7067120 100644 (file)
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -21,7 +21,7 @@
 * $Id$
 ***************************************************************************/
 
-#define CURL_LIBSSH2_DEBUG
+/* #define CURL_LIBSSH2_DEBUG */
 
 #include "setup.h"
 
@@ -808,7 +808,7 @@ CURLcode Curl_sftp_do(struct connectdata *conn, bool *done)
           }
 
           currLen += snprintf(line+currLen, totalLen-currLen, "\n");
-          res = Curl_client_write(conn, CLIENTWRITE_BOTH, line, 0);
+          res = Curl_client_write(conn, CLIENTWRITE_BODY, line, 0);
           free(line);
         }
       }