mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 03:55:03 -05:00
fix sftp directory listing so that it works without -v and is redirectable with -o/-O.
This commit is contained in:
parent
82491d5c06
commit
a79e5d7925
@ -807,7 +807,8 @@ CURLcode Curl_sftp_do(struct connectdata *conn, bool *done)
|
|||||||
filename);
|
filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
infof(data, "%s\n", line);
|
currLen += snprintf(line+currLen, totalLen-currLen, "\n");
|
||||||
|
res = Curl_client_write(conn, CLIENTWRITE_BOTH, line, 0);
|
||||||
free(line);
|
free(line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user