X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftcpip.c;fp=src%2Ftcpip.c;h=8aef811783ae848cc92a1e19a26c35e49c67e3ab;hp=e80365fc660b9d222abc10c37316d278bb0b669d;hb=b8cbf8f36033eb692b79b7e97207baa9904f0a9f;hpb=0b121738c22cd67b153792d645746447d8a81767 diff --git a/src/tcpip.c b/src/tcpip.c index e80365f..8aef811 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -818,6 +818,7 @@ int tcpip_rcvconnect(COMSTACK h) r = tcpip_put(h, sp->connect_request_buf, sp->connect_request_len); TRC(fprintf(stderr, "tcpip_put CONNECT r=%d\n", r)); + h->event = CS_CONNECT; /* because tcpip_put sets it */ if (r) /* < 0 is error, 1 is in-complete */ return r; TRC(fprintf(stderr, "tcpip_put CONNECT complete\n"));