Changeset 563 for pjproject/trunk/pjsip/src/test-pjsip/msg_logger.c
- Timestamp:
- Jun 28, 2006 4:46:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test-pjsip/msg_logger.c
r547 r563 28 28 { 29 29 if (msg_log_enabled) { 30 PJ_LOG(4,(THIS_FILE, "RX %d bytes %s from %s:% d:\n"31 "% s\n"30 PJ_LOG(4,(THIS_FILE, "RX %d bytes %s from %s:%s:%d:\n" 31 "%.*s\n" 32 32 "--end msg--", 33 33 rdata->msg_info.len, 34 34 pjsip_rx_data_get_info(rdata), 35 rdata->tp_info.transport->type_name, 35 36 rdata->pkt_info.src_name, 36 37 rdata->pkt_info.src_port, 38 rdata->msg_info.len, 37 39 rdata->msg_info.msg_buf)); 38 40 } … … 44 46 { 45 47 if (msg_log_enabled) { 46 PJ_LOG(4,(THIS_FILE, "TX %d bytes %s to %s:% d:\n"47 "% s\n"48 PJ_LOG(4,(THIS_FILE, "TX %d bytes %s to %s:%s:%d:\n" 49 "%.*s\n" 48 50 "--end msg--", 49 51 (tdata->buf.cur - tdata->buf.start), 50 52 pjsip_tx_data_get_info(tdata), 53 tdata->tp_info.transport->type_name, 51 54 tdata->tp_info.dst_name, 52 55 tdata->tp_info.dst_port, 56 (tdata->buf.cur - tdata->buf.start), 53 57 tdata->buf.start)); 54 58 }
Note: See TracChangeset
for help on using the changeset viewer.