From: Jaehyun Kim Date: Thu, 6 Oct 2022 09:42:48 +0000 (+0900) Subject: Fix incorrect dereference code X-Git-Tag: accepted/tizen/7.0/unified/20230622.035131~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F01%2F282601%2F1;p=platform%2Fcore%2Fapi%2Fconnection.git Fix incorrect dereference code Change-Id: I10ded479544a83f1a21d406c7ca74630d98612c2 Signed-off-by: Jaehyun Kim --- 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;