Merge "PJPROJECT logging: Fix detection of max supported log level." into 13

This commit is contained in:
George Joseph
2017-01-26 18:52:31 -06:00
committed by Gerrit Code Review
5 changed files with 50 additions and 11 deletions

View File

@@ -5669,7 +5669,7 @@ static int load_module(void)
#ifdef HAVE_PJPROJECT
pj_lock_t *lock;
pj_log_set_level(ast_option_pjproject_log_level);
AST_PJPROJECT_INIT_LOG_LEVEL();
if (pj_init() != PJ_SUCCESS) {
return AST_MODULE_LOAD_DECLINE;
}