Changeset 996 for pjproject/trunk/pjlib-util/src/pjstun-srv/server_main.c
- Timestamp:
- Feb 23, 2007 1:07:54 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjstun-srv/server_main.c
r992 r996 101 101 pj_status_t status; 102 102 103 /* Print to log */ 104 PJ_LOG(4,(THIS_FILE, "TX STUN message: \n" 105 "--- begin STUN message ---\n" 106 "%s" 107 "--- end of STUN message ---\n", 108 pj_stun_msg_dump(msg, svc->tx_pkt, sizeof(svc->tx_pkt), NULL))); 109 103 110 /* Encode packet */ 104 111 tx_pkt_len = sizeof(svc->tx_pkt); … … 221 228 unsigned uattr_cnt; 222 229 pj_uint16_t uattr_types[16]; 230 char dump[512]; 223 231 pj_status_t status; 224 232 … … 242 250 } 243 251 244 PJ_LOG(4,(THIS_FILE, "RX STUN %s %s message", 245 pj_stun_get_method_name(rx_msg->hdr.type), 246 pj_stun_get_class_name(rx_msg->hdr.type))); 252 PJ_LOG(4,(THIS_FILE, "RX STUN message: \n" 253 "--- begin STUN message ---\n" 254 "%s" 255 "--- end of STUN message ---\n", 256 pj_stun_msg_dump(rx_msg, dump, sizeof(dump), NULL))); 247 257 248 258 if (PJ_STUN_IS_REQUEST(rx_msg->hdr.type)) {
Note: See TracChangeset
for help on using the changeset viewer.