Changeset 109 for pjproject/trunk/pjsip/src/pjsip/sip_util.c
- Timestamp:
- Jan 7, 2006 6:44:25 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_util.c
r107 r109 130 130 } 131 131 132 PJ_LOG(4,(THIS_FILE, "Request %s (CSeq=%d/%.*s) created.", 133 tdata->obj_name, 134 param_cseq->cseq, 135 param_cseq->method.name.slen, 136 param_cseq->method.name.ptr)); 132 PJ_LOG(5,(THIS_FILE, "%s created.", 133 pjsip_tx_data_get_info(tdata))); 137 134 138 135 } … … 162 159 pj_status_t status; 163 160 PJ_USE_EXCEPTION; 164 165 PJ_LOG(5,(THIS_FILE, "Entering pjsip_endpt_create_request()"));166 161 167 162 status = pjsip_endpt_create_tdata(endpt, &tdata); … … 272 267 pj_status_t status; 273 268 PJ_USE_EXCEPTION; 274 275 PJ_LOG(5,(THIS_FILE, "Entering pjsip_endpt_create_request_from_hdr()"));276 269 277 270 /* Check arguments. */ … … 344 337 pj_assert(req_msg->type == PJSIP_REQUEST_MSG); 345 338 346 /* Log this action. */347 PJ_LOG(5,(THIS_FILE, "pjsip_endpt_create_response(rdata=%p, code=%d)",348 rdata, st_code));349 350 339 /* Create a new transmit buffer. */ 351 340 status = pjsip_endpt_create_tdata( endpt, &tdata); … … 409 398 /* All done. */ 410 399 *p_tdata = tdata; 400 401 PJ_LOG(5,(THIS_FILE, "%s created", pjsip_tx_data_get_info(tdata))); 411 402 return PJ_SUCCESS; 412 403 } … … 432 423 pjsip_to_hdr *to; 433 424 pj_status_t status; 434 435 /* Log this action. */436 PJ_LOG(5,(THIS_FILE, "pjsip_endpt_create_ack(rdata=%p)", rdata));437 425 438 426 /* rdata must be a final response. */ … … 525 513 const pjsip_hdr *hdr; 526 514 pj_status_t status; 527 528 /* Log this action. */529 PJ_LOG(5,(THIS_FILE, "pjsip_endpt_create_cancel(tdata=%p)", req_tdata));530 515 531 516 /* The transmit buffer must INVITE request. */ … … 703 688 dest_info->type = 704 689 pjsip_transport_get_type_from_name(&url->transport_param); 705 #if PJ_HAS_TCP 706 if (dest_info->type == PJSIP_TRANSPORT_TCP || 707 dest_info->type == PJSIP_TRANSPORT_SCTP) 708 { 709 dest_info->flag |= PJSIP_TRANSPORT_RELIABLE; 710 } 711 #endif 690 dest_info->flag = 691 pjsip_transport_get_flag_from_type(dest_info->type); 712 692 } else { 713 693 pj_assert(!"Unsupported URI scheme!");
Note: See TracChangeset
for help on using the changeset viewer.