mirror of
https://github.com/curl/curl.git
synced 2026-07-16 13:47:31 +03:00
parent
bf5265ad11
commit
e1a0e2b72c
1 changed files with 1 additions and 1 deletions
|
|
@ -576,7 +576,7 @@ static CURLcode cookie_setopts(struct OperationConfig *config, CURL *curl)
|
|||
curlx_dyn_init(&cookies, MAX_COOKIE_LINE);
|
||||
for(cl = config->cookies; cl; cl = cl->next) {
|
||||
if(cl == config->cookies)
|
||||
result = curlx_dyn_addf(&cookies, "%s", cl->data);
|
||||
result = curlx_dyn_add(&cookies, cl->data);
|
||||
else
|
||||
result = curlx_dyn_addf(&cookies, ";%s", cl->data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue