Browse code

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 authored on 07/10/2013 14:09:59
Showing 1 changed files
... ...
@@ -2324,7 +2324,7 @@ void mohq_debug (mohq_lst *pmohq, char *pfmt, ...)
2324 2324
 * o reset log level
2325 2325
 **********/
2326 2326
 
2327
-int nsys_log = get_debug_level ();
2327
+int nsys_log = get_debug_level (LOG_MNAME, LOG_MNAME_LEN);
2328 2328
 int nmohq_log = (pmohq->mohq_flags & MOHQF_DBG) ? L_DBG : L_INFO;
2329 2329
 if (nmohq_log < L_DBG && nsys_log < L_DBG)
2330 2330
   { return; }