summaryrefslogtreecommitdiff
path: root/lib/hash.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-22 17:28:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-23 08:54:42 +0200
commit7e8561e030fcfaba5cd620d7e9c9ab8356163132 (patch)
treebede470aac7ebaea20edbd604624050cac54fb7e /lib/hash.c
parent23558577023538a17c70933acc5de04bf350d9c2 (diff)
downloadcurl-7e8561e030fcfaba5cd620d7e9c9ab8356163132.tar.gz
dynbuf: make *addf() not require extra mallocs
... by introducing a printf() function that appends directly into a dynbuf: Curl_dyn_vprintf(). This avoids the mandatory extra malloc so if the buffer is already big enough it can just printf directly into it. Since this less-malloc version requires tthe use of a library internal printf function, we only provide this version when building libcurl and not for the dynbuf code that is used when building the curl tool. Closes #5998
Diffstat (limited to 'lib/hash.c')
0 files changed, 0 insertions, 0 deletions