diff options
Diffstat (limited to 'src/afb-ditf.c')
-rw-r--r-- | src/afb-ditf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/afb-ditf.c b/src/afb-ditf.c index 9d65d30c..fde9e043 100644 --- a/src/afb-ditf.c +++ b/src/afb-ditf.c @@ -107,14 +107,11 @@ static void hooked_vverbose_cb(void *closure, int level, const char *file, int l struct afb_ditf *ditf = closure; vverbose_cb(closure, level, file, line, function, fmt, args); afb_hook_ditf_vverbose(ditf, level, file, line, function, fmt, args); - vverbose_cb(closure, level, file, line, function, fmt, args); } static void hooked_old_vverbose_cb(void *closure, int level, const char *file, int line, const char *fmt, va_list args) { - struct afb_ditf *ditf = closure; - old_vverbose_cb(closure, level, file, line, fmt, args); - afb_hook_ditf_vverbose(ditf, level, file, line, "", fmt, args); + hooked_vverbose_cb(closure, level, file, line, "?", fmt, args); } static struct afb_event hooked_event_make_cb(void *closure, const char *name) |