Fix code snippet 40/156740/1
authortaesub kim <taesub.kim@samsung.com>
Thu, 19 Oct 2017 23:01:24 +0000 (08:01 +0900)
committertaesub kim <taesub.kim@samsung.com>
Thu, 19 Oct 2017 23:01:34 +0000 (08:01 +0900)
Change-Id: I20a74870616de030f18b8c46e177c31201c4bb9d
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
org.tizen.guides/html/native/connectivity/connection_n.htm

index b67fbc3..45002ee 100644 (file)
@@ -440,7 +440,7 @@ main(int argc, char **argv)
     /* If both IPv4 and IPv6 types are set, the IPv4 type is used as default here */
     rv = connection_profile_get_ip_address(profile_h, CONNECTION_ADDRESS_FAMILY_IPV4,
                                            &amp;local_ipv4);
-    if (rv == CONNECTION_ERROR_NONE &amp;&amp; g_strcmp0(local_ipv4, &amp;0.0.0.0&amp;) != 0) {
+    if (rv == CONNECTION_ERROR_NONE &amp;&amp; g_strcmp0(local_ipv4, "0.0.0.0") != 0) {
         ip_type = CONNECTION_ADDRESS_FAMILY_IPV4;
         dlog_print(DLOG_INFO, LOG_TAG, "IPv4 address: %s\n", local_ipv4);
     }
@@ -819,4 +819,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga
 </script>
 
 </body>
-</html>
\ No newline at end of file
+</html>