Skip to content
Snippets Groups Projects
Commit c9cb9c9c authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix invalid pointer type waring (and bug)

parent 8f089bf0
No related branches found
No related tags found
No related merge requests found
Pipeline #5058 canceled
......@@ -2339,7 +2339,7 @@ static JSBool js_socket_set(JSContext *cx, JSObject *obj, jsid id, JSBool strict
if(p->session==-1) {
int ret = CRYPT_ERROR_NOTINITED;
if(ssl_sync(&scfg)) {
if(ssl_sync(scfg)) {
if((ret=cryptCreateSession(&p->session, CRYPT_UNUSED, tiny == SOCK_PROP_SSL_SESSION ? CRYPT_SESSION_SSL: CRYPT_SESSION_SSL_SERVER))==CRYPT_OK) {
ulong nb=0;
ioctlsocket(p->sock,FIONBIO,&nb);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment