diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2021-03-10 10:46:10 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2021-03-30 16:21:46 +0300 |
commit | e8ecf9862cf730edc4b034fbc05450b56e28617d (patch) | |
tree | d9862f3c39658a9cd38f3113e3494594631bf1ce /src/hs-proxy.cpp | |
parent | e316917605f65a59af1435247df883f3f335ad26 (diff) |
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 <marius.vlad@collabora.com>
Change-Id: Ifb082b95fd6ebc71e863b843c9fd895f5f7efdde
Diffstat (limited to 'src/hs-proxy.cpp')
-rw-r--r-- | src/hs-proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |