Changeset 992 for pjproject/trunk/pjlib-util/src/pjstun-srv/server_main.c
- Timestamp:
- Feb 21, 2007 12:40:05 AM (17 years ago)
- Location:
- pjproject/trunk/pjlib-util/src/pjstun-srv
- Files:
-
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjstun-srv/server_main.c
r991 r992 120 120 } 121 121 122 PJ_LOG(4,(THIS_FILE, "Sending STUN %s %s", 123 pj_stun_get_method_name(msg->hdr.type), 124 pj_stun_get_class_name(msg->hdr.type))); 125 122 126 return (status == PJ_SUCCESS || status == PJ_EPENDING) ? 123 127 PJ_SUCCESS : status; … … 230 234 NULL, &err_code, &uattr_cnt, uattr_types); 231 235 if (status != PJ_SUCCESS) { 236 server_perror(THIS_FILE, "STUN msg_decode() error", status); 232 237 if (err_code != 0 && rx_msg && PJ_STUN_IS_REQUEST(rx_msg->hdr.type)) { 233 238 err_respond(svc, pool, rx_msg, err_code, … … 236 241 goto next_read; 237 242 } 243 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))); 238 247 239 248 if (PJ_STUN_IS_REQUEST(rx_msg->hdr.type)) {
Note: See TracChangeset
for help on using the changeset viewer.