mirror of
https://github.com/curl/curl.git
synced 2026-07-22 22:07:17 +03:00
parent
db02e0e980
commit
307b7543ea
19 changed files with 26 additions and 26 deletions
|
|
@ -259,7 +259,7 @@ static CURLcode unfold_value(struct Curl_easy *data, const char *value,
|
|||
|
||||
/* put the data at the end of the previous data, not the newline */
|
||||
memcpy(&newhs->value[olen], value, vlen);
|
||||
newhs->value[olen + vlen] = 0; /* zero terminate at newline */
|
||||
newhs->value[olen + vlen] = 0; /* null-terminate at newline */
|
||||
|
||||
/* insert this node into the list of headers */
|
||||
Curl_llist_insert_next(&data->state.httphdrs, data->state.httphdrs.tail,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue