Changeset 1929 for pjproject/trunk/pjnath/src/pjnath-test/sess_auth.c
- Timestamp:
- Apr 14, 2008 4:04:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath-test/sess_auth.c
r1916 r1929 164 164 PJ_UNUSED_ARG(unused); 165 165 166 PJ_LOG(5,("", " server thread started")); 167 166 168 while (!server->quit) { 167 169 pj_fd_set_t readset; … … 171 173 PJ_FD_SET(server->sock, &readset); 172 174 173 if (pj_sock_select(server->sock , &readset, NULL, NULL, &delay)==1 &&175 if (pj_sock_select(server->sock+1, &readset, NULL, NULL, &delay)==1 && 174 176 PJ_FD_ISSET(server->sock, &readset)) 175 177 { … … 384 386 PJ_FD_SET(client->sock, &readset); 385 387 386 if (pj_sock_select(client->sock , &readset, NULL, NULL, &delay)==1 &&388 if (pj_sock_select(client->sock+1, &readset, NULL, NULL, &delay)==1 && 387 389 PJ_FD_ISSET(client->sock, &readset)) 388 390 { … … 451 453 pj_bool_t dummy_mi, 452 454 453 pj_ stun_statusexpected_error,454 pj_st un_statusexpected_code,455 pj_bool_t expected_error, 456 pj_status_t expected_code, 455 457 const char *expected_realm, 456 458 const char *expected_nonce, … … 690 692 static int retransmit_check(void) 691 693 { 692 if (server->recv_count != PJ_STUN_MAX_TRANSMIT_COUNT) 694 695 if (server->recv_count != PJ_STUN_MAX_TRANSMIT_COUNT) { 696 PJ_LOG(3,("", " expecting %d retransmissions, got %d", 697 PJ_STUN_MAX_TRANSMIT_COUNT, server->recv_count)); 693 698 return -700; 699 } 694 700 if (client->recv_count != 0) 695 701 return -710;
Note: See TracChangeset
for help on using the changeset viewer.