From eb0abe2509bdcd923f12f471e7af4aa7f87909e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Wed, 4 Jul 2018 12:23:43 +0200 Subject: [PATCH] afb-req: Fix a bug in afb_req_verbose MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- coverage/scripts/02-hello.sh | 2 +- include/afb/afb-req-x2.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.16.6