Changeset 4000
- Timestamp:
- Mar 30, 2012 7:41:56 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/sipecho.c
r3754 r4000 419 419 pjsip_dialog *dlg; 420 420 pjsip_rdata_sdp_info *sdp_info; 421 pjmedia_sdp_session *answer ;422 pjsip_tx_data *tdata ;423 call_t *call ;421 pjmedia_sdp_session *answer = NULL; 422 pjsip_tx_data *tdata = NULL; 423 call_t *call = NULL; 424 424 unsigned i; 425 unsigned options = 0;426 425 pj_status_t status; 427 426 … … 490 489 491 490 /* Generate Contact URI */ 492 if (pj_gethostip(AF, &hostaddr) != PJ_SUCCESS) { 491 status = pj_gethostip(AF, &hostaddr); 492 if (status != PJ_SUCCESS) { 493 493 app_perror(THIS_FILE, "Unable to retrieve local host IP", status); 494 494 return PJ_TRUE; … … 561 561 pj_str_t local_uri; 562 562 pjsip_dialog *dlg; 563 pjmedia_sdp_session *local_sdp;564 563 pj_status_t status; 565 564 pjsip_tx_data *tdata; … … 613 612 (app.enable_msg_logging? "Disable" : "Enable")); 614 613 615 fgets(s, sizeof(s), stdin) != NULL; 614 if (fgets(s, sizeof(s), stdin) == NULL) 615 continue; 616 616 617 if (s[0]=='q') 617 618 break; -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_aud.c
r3999 r4000 570 570 pjmedia_port *media_port; 571 571 unsigned strm_idx = call_med->idx; 572 pj_status_t status; 572 pj_status_t status = PJ_SUCCESS; 573 574 PJ_UNUSED_ARG(tmp_pool); 575 PJ_UNUSED_ARG(local_sdp); 576 PJ_UNUSED_ARG(remote_sdp); 573 577 574 578 PJ_LOG(4,(THIS_FILE,"Audio channel update..")); -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
r3982 r4000 702 702 pjmedia_port *media_port; 703 703 pj_status_t status; 704 704 705 PJ_UNUSED_ARG(tmp_pool); 706 PJ_UNUSED_ARG(local_sdp); 707 PJ_UNUSED_ARG(remote_sdp); 708 705 709 PJ_LOG(4,(THIS_FILE, "Video channel update..")); 706 710 pj_log_push_indent();
Note: See TracChangeset
for help on using the changeset viewer.