Loading lib/telnet.c +2 −2 Original line number Diff line number Diff line Loading @@ -1117,7 +1117,7 @@ CURLcode Curl_telnet(struct connectdata *conn) != SOCKET_ERROR) { if(events.lNetworkEvents & FD_READ) { /* This reallu OUGHT to check its return code. */ Curl_read(conn, sockfd, buf, BUFSIZE - 1, &nread); (void)Curl_read(conn, sockfd, buf, BUFSIZE - 1, &nread); telrcv(conn, (unsigned char *)buf, nread); Loading Loading @@ -1181,7 +1181,7 @@ CURLcode Curl_telnet(struct connectdata *conn) if(FD_ISSET(sockfd, &readfd)) { /* This OUGHT to check the return code... */ Curl_read(conn, sockfd, buf, BUFSIZE - 1, &nread); (void)Curl_read(conn, sockfd, buf, BUFSIZE - 1, &nread); /* if we receive 0 or less here, the server closed the connection and we bail out from this! */ Loading Loading
lib/telnet.c +2 −2 Original line number Diff line number Diff line Loading @@ -1117,7 +1117,7 @@ CURLcode Curl_telnet(struct connectdata *conn) != SOCKET_ERROR) { if(events.lNetworkEvents & FD_READ) { /* This reallu OUGHT to check its return code. */ Curl_read(conn, sockfd, buf, BUFSIZE - 1, &nread); (void)Curl_read(conn, sockfd, buf, BUFSIZE - 1, &nread); telrcv(conn, (unsigned char *)buf, nread); Loading Loading @@ -1181,7 +1181,7 @@ CURLcode Curl_telnet(struct connectdata *conn) if(FD_ISSET(sockfd, &readfd)) { /* This OUGHT to check the return code... */ Curl_read(conn, sockfd, buf, BUFSIZE - 1, &nread); (void)Curl_read(conn, sockfd, buf, BUFSIZE - 1, &nread); /* if we receive 0 or less here, the server closed the connection and we bail out from this! */ Loading