--- libwww/Library/src/HTTCP.c 1995/06/12 04:15:19 2.44 +++ libwww/Library/src/HTTCP.c 1995/06/30 19:39:50 2.44.2.1 @@ -1170,7 +1170,7 @@ PUBLIC int HTDoConnect ARGS5(HTNetInfo * { if (PROT_TRACE) fprintf(TDEST, "HTDoConnect. WOULD BLOCK `%s'\n", host); - HTThreadState(net->sockfd, THD_SET_WRITE); + HTThreadState(net->sockfd, THD_SET_CONNECT); free(p1); return HT_WOULD_BLOCK; } @@ -1180,7 +1180,7 @@ PUBLIC int HTDoConnect ARGS5(HTNetInfo * net->connecttime = time((long *)0) - net->connecttime; if (status < 0) { /* multi PB */ if (socerrno == EISCONN) { /* connect multi after would block*/ - HTThreadState(net->sockfd, THD_CLR_WRITE); + HTThreadState(net->sockfd, THD_CLR_CONNECT); HTTCPAddrWeights(host, net->connecttime); free(p1); net->addressCount = 0; @@ -1221,7 +1221,7 @@ PUBLIC int HTDoConnect ARGS5(HTNetInfo * } } else if (status < 0) { /* single PB */ if (socerrno==EISCONN) { /* Connect single after would block */ - HTThreadState(net->sockfd, THD_CLR_WRITE); + HTThreadState(net->sockfd, THD_CLR_CONNECT); net->addressCount = 0; free(p1); return HT_OK;