aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-01-28 12:35:39 +0000
committerGunter Knauf <gk@gknw.de>2007-01-28 12:35:39 +0000
commitd31153584ee81d1bdc0d127ae47426fe9bd21060 (patch)
treef4eefc16605fe95f6ce4548abda677ae30a4304d
parent823d296e124ee34e0f29022d2a9704a014cb92f3 (diff)
another small fix to directory listing output; disabled CURL_LIBSSH2_DEBUG.
-rw-r--r--lib/ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index ed38802e3..47c3dd45f 100644
--- 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);
}
}