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-05-04 16:08:00 +0300
commit9bc8230996281745e865701c4aa5471b075fc5e9 (patch)
tree4c32dc053fb3f02a20749361b14c60d70f3ee243 /src/hs-proxy.cpp
parent1863fee02210ab55dec6671eb04cb355a9a87e26 (diff)
hs-clientmanager: Pass arguments to printf() wrappersjellyfish_10.0.3jellyfish/10.0.310.0.3
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 c6a373c..4b89189 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);
}