diff options
Diffstat (limited to 'pjlib/include/pj/log.h')
-rw-r--r-- | pjlib/include/pj/log.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pjlib/include/pj/log.h b/pjlib/include/pj/log.h index 96dc4852..e0fd9526 100644 --- a/pjlib/include/pj/log.h +++ b/pjlib/include/pj/log.h @@ -105,8 +105,9 @@ enum pj_log_decoration * @hideinitializer */ #define PJ_LOG(level,arg) do { \ - if (level <= pj_log_get_level()) \ + if (level <= pj_log_get_level()) { \ pj_log_wrapper_##level(arg); \ + } \ } while (0) /** |