Fix incorrect dereference code 01/282601/1
authorJaehyun Kim <jeik01.kim@samsung.com>
Thu, 6 Oct 2022 09:42:48 +0000 (18:42 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Thu, 6 Oct 2022 09:42:48 +0000 (18:42 +0900)
Change-Id: I10ded479544a83f1a21d406c7ca74630d98612c2
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
src/connection.c

index 50e29e2..0d33571 100755 (executable)
@@ -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;