mirror of
https://github.com/curl/curl.git
synced 2026-07-24 17:37:18 +03:00
libssh: use dynbuf instead of realloc
When building lines to show for SFTP directory listings. Closes #10778
This commit is contained in:
parent
f24014c3eb
commit
f7a3fae4cb
2 changed files with 19 additions and 39 deletions
|
|
@ -157,8 +157,8 @@ struct ssh_conn {
|
|||
|
||||
#if defined(USE_LIBSSH)
|
||||
char *readdir_linkPath;
|
||||
size_t readdir_len, readdir_totalLen, readdir_currLen;
|
||||
char *readdir_line;
|
||||
size_t readdir_len;
|
||||
struct dynbuf readdir_buf;
|
||||
/* our variables */
|
||||
unsigned kbd_state; /* 0 or 1 */
|
||||
ssh_key privkey;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue