- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util-test/http_client.c
r3553 r4537 77 77 PJ_FD_ZERO(&rset); 78 78 PJ_FD_SET(srv->sock, &rset); 79 rc = pj_sock_select( srv->sock+1, &rset, NULL, NULL, &timeout);79 rc = pj_sock_select((int)srv->sock+1, &rset, NULL, NULL, &timeout); 80 80 if (rc != 1) { 81 81 continue; … … 94 94 PJ_FD_ZERO(&rset); 95 95 PJ_FD_SET(newsock, &rset); 96 rc = pj_sock_select( newsock+1, &rset, NULL, NULL, &timeout);96 rc = pj_sock_select((int)newsock+1, &rset, NULL, NULL, &timeout); 97 97 if (rc != 1) { 98 98 PJ_LOG(3,("http test", "client timeout")); … … 116 116 continue; 117 117 } else if (srv->action == ACTION_REPLY) { 118 unsigned send_size = 0, ctr = 0; 118 pj_size_t send_size = 0; 119 unsigned ctr = 0; 119 120 pj_ansi_sprintf(pkt, "HTTP/1.0 200 OK\r\n"); 120 121 if (srv->send_content_length) {
Note: See TracChangeset
for help on using the changeset viewer.