Module: sip-router Branch: master Commit: e4e84c80232a5acc60b64adb541b54b6967189f6 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e4e84c80232a5acc60b64adb541b54b6967189f6
Author: Timo Teräs <[email protected]> Committer: Timo Teräs <[email protected]> Date: Mon Oct 7 17:09:59 2013 +0300 mohqueue: fix build error due to get_debug_level api change Should have tested better before merging. Should probably remove the whole debug print helper and use core functions directly now that the core supports per-module debugging. --- modules/mohqueue/mohq_funcs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/mohqueue/mohq_funcs.c b/modules/mohqueue/mohq_funcs.c index d3e7ee9..ae0fc51 100644 --- a/modules/mohqueue/mohq_funcs.c +++ b/modules/mohqueue/mohq_funcs.c @@ -2324,7 +2324,7 @@ void mohq_debug (mohq_lst *pmohq, char *pfmt, ...) * o reset log level **********/ -int nsys_log = get_debug_level (); +int nsys_log = get_debug_level (LOG_MNAME, LOG_MNAME_LEN); int nmohq_log = (pmohq->mohq_flags & MOHQF_DBG) ? L_DBG : L_INFO; if (nmohq_log < L_DBG && nsys_log < L_DBG) { return; } _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
