[Svace] Replace strtok with strtok_r 62/74162/1 accepted/tizen/common/20160613.144928 accepted/tizen/ivi/20160613.123659 accepted/tizen/mobile/20160613.123816 accepted/tizen/tv/20160613.123650 accepted/tizen/wearable/20160613.123752 submit/tizen/20160613.080206
authorchleun.moon <chleun.moon@samsung.com>
Mon, 13 Jun 2016 04:56:56 +0000 (13:56 +0900)
committerchleun.moon <chleun.moon@samsung.com>
Mon, 13 Jun 2016 04:57:09 +0000 (13:57 +0900)
Change-Id: Ieeca7a52d898da630aae0081ca1097a587a3f848
Signed-off-by: cheoleun <chleun.moon@samsung.com>
packaging/wifi-efl-ug.spec
sources/libraries/Common/common_ip_info.c

index 1498619..ca1259f 100644 (file)
@@ -1,7 +1,7 @@
 %define _unpackaged_files_terminate_build 0
 Name:          wifi-efl-ug
 Summary:       Wi-Fi UI Gadget for TIZEN
-Version:       1.0.175
+Version:       1.0.176
 Release:       1
 Group:         App/Network
 License:       Flora-1.1
index 673b438..d5439fd 100755 (executable)
@@ -1111,11 +1111,12 @@ static void ip_info_print_values(wifi_ap_h ap)
        }
 
        /* Proxy Address */
-       char *proxy_addr = strtok(txt, ":");
+       char *save_str = NULL;
+       char *proxy_addr = strtok_r(txt, ":", &save_str);
        SECURE_DEBUG_LOG(UG_NAME_NORMAL, "* PROXY ADDR [%s]", proxy_addr);
 
        /* Proxy port */
-       char *proxy_port = strtok(NULL, ":");
+       char *proxy_port = strtok_r(NULL, ":", &save_str);
        SECURE_DEBUG_LOG(UG_NAME_NORMAL, "* PROXY PORT [%s]", proxy_port);
        g_free(txt);
 }