aboutsummaryrefslogtreecommitdiff
path: root/lib/cmyth/libcmyth/debug.c
diff options
context:
space:
mode:
authorTonny Petersen <tsp@person.dk>2011-10-22 00:55:50 +0200
committerTonny Petersen <tsp@person.dk>2011-10-22 10:03:00 +0200
commit98a6f0f4cf3777c700fd0f41e43c50d23b9816b9 (patch)
treeccd0df72a7f703e4f76e73015b10476369fc2fda /lib/cmyth/libcmyth/debug.c
parent79cceb52edf0a090d0fd27cbe6b7927cb3dab73d (diff)
libcmyth bug fix:
*Wrong debug callback function *Reference counting broken on linux *cmyth_mysql_testdb_connection returns a pointer to a stack variable *ref_reallof derefence NULL pointer in debug build
Diffstat (limited to 'lib/cmyth/libcmyth/debug.c')
-rw-r--r--lib/cmyth/libcmyth/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cmyth/libcmyth/debug.c b/lib/cmyth/libcmyth/debug.c
index 37bbfcc05c..197801d5a6 100644
--- a/lib/cmyth/libcmyth/debug.c
+++ b/lib/cmyth/libcmyth/debug.c
@@ -116,7 +116,7 @@ cmyth_dbg(int level, char *fmt, ...)
}
void
-cmyth_set_dbg_msgcallback(void (*msgcb)(char *))
+cmyth_set_dbg_msgcallback(void (*msgcb)(int level,char *))
{
cmyth_debug_ctx.msg_callback = msgcb;
}