Changeset 4847


Ignore:
Timestamp:
May 20, 2014 4:39:46 AM (10 years ago)
Author:
nanang
Message:

Misc (re #1751): Fixed build error when PJ_LOG_MAX_LEVEL is set to 0 (thanks Fredrik Hansson for the report).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp

    r4804 r4847  
    13101310    this->writer = NULL; 
    13111311 
     1312#if PJ_LOG_MAX_LEVEL >= 1 
    13121313    if (pj_log_get_log_func() == &Endpoint::logFunc) { 
    13131314        pj_log_set_log_func(NULL); 
    13141315    } 
     1316#endif 
    13151317 
    13161318    PJSUA2_CHECK_RAISE_ERROR(status); 
     
    13311333                          const char *format, ...) 
    13321334{ 
     1335#if PJ_LOG_MAX_LEVEL >= 1 
    13331336    va_list arg; 
    13341337    va_start(arg, format); 
    13351338    pj_log(sender, level, format, arg ); 
    13361339    va_end(arg); 
     1340#endif 
    13371341} 
    13381342 
Note: See TracChangeset for help on using the changeset viewer.