From 3114671054e0183bf72785df3830f9cdbff38ee9 Mon Sep 17 00:00:00 2001 From: Jaehyun Kim Date: Thu, 6 Oct 2022 18:42:48 +0900 Subject: [PATCH] Fix incorrect dereference code Change-Id: I10ded479544a83f1a21d406c7ca74630d98612c2 Signed-off-by: Jaehyun Kim --- src/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.c b/src/connection.c index 50e29e2..0d33571 100755 --- a/src/connection.c +++ b/src/connection.c @@ -1958,7 +1958,7 @@ EXPORT_API int connection_clock_is_updated(connection_h connection, bool *update return rv; //LCOV_EXCL_LINE } - CONNECTION_LOG(CONNECTION_INFO, "Clock updated: %s", updated ? "true" : "false"); + CONNECTION_LOG(CONNECTION_INFO, "Clock updated: %s", *updated ? "true" : "false"); CONN_UNLOCK; return CONNECTION_ERROR_NONE; -- 2.7.4