mirror of https://github.com/moparisthebest/curl
another small fix to directory listing output; disabled CURL_LIBSSH2_DEBUG.
This commit is contained in:
parent
823d296e12
commit
d31153584e
|
@ -21,7 +21,7 @@
|
||||||
* $Id$
|
* $Id$
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#define CURL_LIBSSH2_DEBUG
|
/* #define CURL_LIBSSH2_DEBUG */
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
@ -808,7 +808,7 @@ CURLcode Curl_sftp_do(struct connectdata *conn, bool *done)
|
||||||
}
|
}
|
||||||
|
|
||||||
currLen += snprintf(line+currLen, totalLen-currLen, "\n");
|
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);
|
free(line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue