From eb0abe2509bdcd923f12f471e7af4aa7f87909e1 Mon Sep 17 00:00:00 2001
From: José Bollo <jose.bollo@iot.bzh>
Date: Wed, 4 Jul 2018 12:23:43 +0200
Subject: afb-req: Fix a bug in afb_req_verbose
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
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 <jose.bollo@iot.bzh>
---
 include/afb/afb-req-x2.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'include')

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);
 }
 
-- 
cgit