Browse Source

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.
Timo Teräs 12 years ago
parent
commit
e4e84c8023
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/mohqueue/mohq_funcs.c

+ 1 - 1
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; }