File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ static REBOOL Nonblocking_Mode(SOCKET sock)
294
294
295
295
#ifdef HAS_ASYNC_DNS
296
296
// Check if we are polling for completion:
297
- if (host = (HOSTENT * )(sock -> net .host_info )) {
297
+ if (( host = (HOSTENT * )(sock -> net .host_info ) )) {
298
298
// The windows main event handler will change this when it gets WM_DNS event:
299
299
if (!GET_FLAG (sock -> flags , RRF_DONE )) return DR_PEND ; // still waiting
300
300
CLR_FLAG (sock -> flags , RRF_DONE );
@@ -512,7 +512,7 @@ static REBOOL Nonblocking_Mode(SOCKET sock)
512
512
513
513
// Check error code:
514
514
result = GET_ERROR ;
515
- WATCH2 ("get error: %d %s\n" , result , strerror (result ));
515
+ // WATCH2("get error: %d %s\n", result, strerror(result));
516
516
if (result == NE_WOULDBLOCK ) {
517
517
//printf("timeout: %d\n", sock->timeout);
518
518
return DR_PEND ; // still waiting
You can’t perform that action at this time.
0 commit comments