Changeset 5983 for pjproject/trunk/pjnath/src/pjnath/turn_sock.c
- Timestamp:
- May 9, 2019 7:47:39 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/turn_sock.c
r5596 r5983 835 835 PJ_TRUE, &sobuf_size); 836 836 if (status != PJ_SUCCESS) { 837 pj_perror(3,turn_sock->obj_name, status,838 "Failed setting SO_RCVBUF");837 PJ_PERROR(3, (turn_sock->obj_name, status, 838 "Failed setting SO_RCVBUF")); 839 839 } else { 840 840 if (sobuf_size < turn_sock->setting.so_rcvbuf_size) { … … 854 854 PJ_TRUE, &sobuf_size); 855 855 if (status != PJ_SUCCESS) { 856 pj_perror(3,turn_sock->obj_name, status,857 "Failed setting SO_SNDBUF");856 PJ_PERROR(3, (turn_sock->obj_name, status, 857 "Failed setting SO_SNDBUF")); 858 858 } else { 859 859 if (sobuf_size < turn_sock->setting.so_sndbuf_size) { … … 905 905 on_connect_complete(turn_sock->active_sock, PJ_SUCCESS); 906 906 } else if (status != PJ_EPENDING) { 907 pj_perror(3,turn_sock->pool->obj_name, status,908 909 910 sizeof(addrtxt), 3));907 PJ_PERROR(3, (turn_sock->pool->obj_name, status, 908 "Failed to connect to %s", 909 pj_sockaddr_print(&info.server, addrtxt, 910 sizeof(addrtxt), 3))); 911 911 pj_turn_sock_destroy(turn_sock); 912 912 return;
Note: See TracChangeset
for help on using the changeset viewer.