From: José Bollo Date: Mon, 4 Sep 2017 14:15:08 +0000 (+0200) Subject: afb-ditf: use NULL function feature X-Git-Tag: eel/4.99.1~9 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=e51d68ddc998f558507217e3c849b16ce94c068f;p=src%2Fapp-framework-binder.git afb-ditf: use NULL function feature It is now safe to put NULL for function name. Change-Id: I83afc47e38b823e924ae8dab60a7a24065ae0ef6 Signed-off-by: José Bollo --- diff --git a/src/afb-ditf.c b/src/afb-ditf.c index bc020ba3..63268a85 100644 --- a/src/afb-ditf.c +++ b/src/afb-ditf.c @@ -56,7 +56,7 @@ static void vverbose_cb(void *closure, int level, const char *file, int line, co static void old_vverbose_cb(void *closure, int level, const char *file, int line, const char *fmt, va_list args) { - vverbose_cb(closure, level, file, line, "?", fmt, args); + vverbose_cb(closure, level, file, line, NULL, fmt, args); } static struct afb_event event_make_cb(void *closure, const char *name) @@ -152,7 +152,7 @@ static void hooked_vverbose_cb(void *closure, int level, const char *file, int l static void hooked_old_vverbose_cb(void *closure, int level, const char *file, int line, const char *fmt, va_list args) { - hooked_vverbose_cb(closure, level, file, line, "?", fmt, args); + hooked_vverbose_cb(closure, level, file, line, NULL, fmt, args); } static struct afb_event hooked_event_make_cb(void *closure, const char *name)