From: Seonah Moon Date: Thu, 30 Nov 2017 06:35:48 +0000 (+0900) Subject: bug fix for test app X-Git-Tag: submit/tizen/20171130.074734^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04e8b2708b66a8eaa6ac9958876c3462c7a2ecb9;p=platform%2Fcore%2Fapi%2Fwifi-manager.git bug fix for test app Change-Id: Id58aac1d130ccc9d83e640c07da9047eb82dbf82 --- diff --git a/test/wifi_manager_test.c b/test/wifi_manager_test.c index 5b53de2..b1a7aac 100755 --- a/test/wifi_manager_test.c +++ b/test/wifi_manager_test.c @@ -738,7 +738,7 @@ static bool __test_found_change_ip_method_callback(wifi_manager_ap_h ap, void *u char ip_addr[40]; printf("Input new ip address (x:skip, 0:clear) :\n"); - rv = scanf("%15s", ip_addr); + rv = scanf("%39s", ip_addr); if (rv > 0) { switch (ip_addr[0]) { case 'x': @@ -757,7 +757,7 @@ static bool __test_found_change_ip_method_callback(wifi_manager_ap_h ap, void *u } printf("Input new subnet mask (x:skip, 0:clear) :\n"); - rv = scanf("%15s", ip_addr); + rv = scanf("%39s", ip_addr); if (rv > 0) { switch (ip_addr[0]) { case 'x': @@ -789,7 +789,7 @@ static bool __test_found_change_ip_method_callback(wifi_manager_ap_h ap, void *u } printf("Input new gateway address (x:skip, 0:clear) :\n"); - rv = scanf("%15s", ip_addr); + rv = scanf("%39s", ip_addr); if (rv > 0) { switch (ip_addr[0]) { case 'x':