From: José Bollo Date: Wed, 4 Jul 2018 10:23:43 +0000 (+0200) Subject: afb-req: Fix a bug in afb_req_verbose X-Git-Tag: 5.99.2~35 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=commitdiff_plain;h=eb0abe2509bdcd923f12f471e7af4aa7f87909e1 afb-req: Fix a bug in afb_req_verbose The newer version of afb_req_verbose was self recursive leading the crashes. Bug-AGL: SPEC-1561 Change-Id: I40959e5b72ca850712c27a505e77efea43aadabd Signed-off-by: José Bollo --- diff --git a/coverage/scripts/02-hello.sh b/coverage/scripts/02-hello.sh index fbbb307d..916892f7 100755 --- a/coverage/scripts/02-hello.sh +++ b/coverage/scripts/02-hello.sh @@ -47,7 +47,7 @@ hello getctx #------------------------ # TODO bug to be fixed! #hello info -#hello verbose {"level":2,"message":"hello"} #------------------------ +hello verbose {"level":2,"message":"hello"} EOC diff --git a/include/afb/afb-req-x2.h b/include/afb/afb-req-x2.h index bd4bc767..4ae1af7b 100644 --- a/include/afb/afb-req-x2.h +++ b/include/afb/afb-req-x2.h @@ -642,7 +642,7 @@ void afb_req_x2_verbose( { va_list args; va_start(args, fmt); - afb_req_x2_verbose(req, level, file, line, func, fmt, args); + afb_req_x2_vverbose(req, level, file, line, func, fmt, args); va_end(args); }