mirror of
https://github.com/curl/curl.git
synced 2026-04-26 02:12:12 +03:00
cookie: set ->running in cookie_init even if data is NULL
This is a regression introduced in b1b326ec50 (shipped in curl 8.1.0)
Test 3103 verifies.
Fixes #11875
Reported-by: wangp on github
Closes #11876
This commit is contained in:
parent
7f225456d1
commit
73c82ed941
1 changed files with 1 additions and 1 deletions
|
|
@ -1266,8 +1266,8 @@ struct CookieInfo *Curl_cookie_init(struct Curl_easy *data,
|
|||
fclose(handle);
|
||||
}
|
||||
data->state.cookie_engine = TRUE;
|
||||
c->running = TRUE; /* now, we're running */
|
||||
}
|
||||
c->running = TRUE; /* now, we're running */
|
||||
|
||||
return c;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue