- Timestamp:
- Feb 26, 2007 2:33:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjstun-client/stun_session.c
r996 r1002 485 485 /* Encode message */ 486 486 status = pj_stun_msg_encode(tdata->msg, tdata->pkt, tdata->max_len, 487 0, &tdata->pkt_size);487 0, NULL, &tdata->pkt_size); 488 488 if (status != PJ_SUCCESS) { 489 489 LOG_ERR_(sess, "STUN encode() error", status); … … 541 541 unsigned *parsed_len) 542 542 { 543 pj_stun_msg *msg ;543 pj_stun_msg *msg, *response; 544 544 pj_pool_t *tmp_pool; 545 545 char *dump; … … 555 555 status = pj_stun_msg_decode(tmp_pool, (const pj_uint8_t*)packet, 556 556 pkt_size, 0, &msg, parsed_len, 557 NULL, NULL, NULL);557 &response); 558 558 if (status != PJ_SUCCESS) { 559 559 LOG_ERR_(sess, "STUN msg_decode() error", status); 560 if (response) { 561 PJ_TODO(SEND_RESPONSE); 562 } 560 563 pj_pool_release(tmp_pool); 561 564 return status;
Note: See TracChangeset
for help on using the changeset viewer.