mirror of
https://github.com/curl/curl.git
synced 2026-04-16 15:01:40 +03:00
nss_set_blocking: avoid static for sock_opt
Reviewed-by: Kamil Dudka Closes #6945
This commit is contained in:
parent
56e2319611
commit
f2e1163bc8
1 changed files with 1 additions and 1 deletions
|
|
@ -1830,7 +1830,7 @@ static CURLcode nss_set_blocking(struct ssl_connect_data *connssl,
|
|||
struct Curl_easy *data,
|
||||
bool blocking)
|
||||
{
|
||||
static PRSocketOptionData sock_opt;
|
||||
PRSocketOptionData sock_opt;
|
||||
struct ssl_backend_data *backend = connssl->backend;
|
||||
sock_opt.option = PR_SockOpt_Nonblocking;
|
||||
sock_opt.value.non_blocking = !blocking;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue