diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-03-27 10:59:54 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-03-28 10:11:33 +0200 |
commit | c1d6fe2aaa5a26e49a69a4f2495b3cc7a24d9394 (patch) | |
tree | 1fcd5b544d773ee40ca3e2fa285a362ae2298814 /lib/fileinfo.h | |
parent | 2203bd13ff27e497030bb4e7ca776a05262c1737 (diff) | |
download | curl-c1d6fe2aaa5a26e49a69a4f2495b3cc7a24d9394.tar.gz |
ftplistparser: replace realloc with dynbuf
Closes #10844
Diffstat (limited to 'lib/fileinfo.h')
-rw-r--r-- | lib/fileinfo.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/fileinfo.h b/lib/fileinfo.h index 7c3e3162b..ce009da06 100644 --- a/lib/fileinfo.h +++ b/lib/fileinfo.h @@ -26,13 +26,12 @@ #include <curl/curl.h> #include "llist.h" +#include "dynbuf.h" struct fileinfo { struct curl_fileinfo info; struct Curl_llist_element list; - char *mem; - size_t size; - size_t used; + struct dynbuf buf; }; struct fileinfo *Curl_fileinfo_alloc(void); |