From e8ecf9862cf730edc4b034fbc05450b56e28617d Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 10 Mar 2021 10:46:10 +0200 Subject: hs-clientmanager: Pass arguments to printf() wrappers Avoid crashing on various platforms, by not setting any argument at all. Bug-AGL: SPEC-3843 Signed-off-by: Marius Vlad Change-Id: Ifb082b95fd6ebc71e863b843c9fd895f5f7efdde --- src/hs-proxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hs-proxy.cpp') diff --git a/src/hs-proxy.cpp b/src/hs-proxy.cpp index f8b796c..aaa67c7 100644 --- a/src/hs-proxy.cpp +++ b/src/hs-proxy.cpp @@ -56,7 +56,7 @@ static void api_callback(void *closure, struct json_object *object, const char * /* if we have an error then we couldn't start the application so we remove it */ if (error) { - AFB_INFO("asynchronous call, removing client %s", cdata->appid); + AFB_INFO("asynchronous call, removing client %s", cdata->appid.c_str()); clientManager->removeClient(cdata->appid); } -- cgit 1.2.3-korg