Restconf: nonblocking constant and fixed an accept again loop error

This commit is contained in:
Olof hagsand 2021-04-03 10:37:29 +02:00
parent 3e2e4646f0
commit 6a64cf5ff1

View file

@ -1345,8 +1345,9 @@ openssl_init_socket(clicon_handle h,
#ifdef RESTCONF_OPENSSL_NONBLOCKING #ifdef RESTCONF_OPENSSL_NONBLOCKING
SOCK_NONBLOCK, /* Also 0 is possible */ SOCK_NONBLOCK, /* Also 0 is possible */
#else /* blocking */ #else /* blocking */
&ss 0,
#endif #endif
&ss
) < 0) ) < 0)
goto done; goto done;
if ((rh = restconf_handle_get(h)) == NULL){ if ((rh = restconf_handle_get(h)) == NULL){