Ignore:
Timestamp:
Feb 21, 2007 12:40:05 AM (17 years ago)
Author:
bennylp
Message:

Merged the ICE branch into the trunk

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  
    120120    } 
    121121 
     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 
    122126    return (status == PJ_SUCCESS || status == PJ_EPENDING) ?  
    123127            PJ_SUCCESS : status; 
     
    230234                                NULL, &err_code, &uattr_cnt, uattr_types); 
    231235    if (status != PJ_SUCCESS) { 
     236        server_perror(THIS_FILE, "STUN msg_decode() error", status); 
    232237        if (err_code != 0 && rx_msg && PJ_STUN_IS_REQUEST(rx_msg->hdr.type)) { 
    233238            err_respond(svc, pool, rx_msg, err_code,  
     
    236241        goto next_read; 
    237242    } 
     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))); 
    238247 
    239248    if (PJ_STUN_IS_REQUEST(rx_msg->hdr.type)) { 
Note: See TracChangeset for help on using the changeset viewer.