summaryrefslogtreecommitdiffstats
path: root/src/hs-proxy.cpp
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2021-03-10 10:46:10 +0200
committerMarius Vlad <marius.vlad@collabora.com>2021-03-10 14:39:10 +0200
commit75c22ca591142d1f9ec8ab030f561dd1b97cdb0d (patch)
treee0a494f00d84f7830552fd217625cbf39be6b871 /src/hs-proxy.cpp
parent31eeddf43beed3dd5f6b85eb8f8c2f3e46f3e34c (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.cpp2
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);
}