mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 00:28:48 -05:00
nss_set_blocking: avoid static for sock_opt
Reviewed-by: Kamil Dudka Closes #6945
This commit is contained in:
parent
56e2319611
commit
f2e1163bc8
@ -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…
Reference in New Issue
Block a user