Changeset 1380
- Timestamp:
- Jun 21, 2007 11:48:50 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjstun-srv-test/turn_usage.c
r1374 r1380 306 306 307 307 if (status == PJ_SUCCESS) { 308 /* Received STUN message */ 309 status = pj_stun_session_on_rx_pkt(client->session, 310 (pj_uint8_t*)pkt, pkt_size, 311 flags, NULL, 312 src_addr, src_addr_len); 308 if (client->session) { 309 /* Received STUN message */ 310 status = pj_stun_session_on_rx_pkt(client->session, 311 (pj_uint8_t*)pkt, pkt_size, 312 flags, NULL, 313 src_addr, src_addr_len); 314 } else { 315 client_destroy(client, PJ_SUCCESS); 316 } 313 317 } else if (client->active_peer) { 314 318 /* Received non-STUN message and client has active destination */
Note: See TracChangeset
for help on using the changeset viewer.