bug fix for test app 92/162292/1 accepted/tizen/unified/20171204.072225 submit/tizen/20171130.074734
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 30 Nov 2017 06:35:48 +0000 (15:35 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 30 Nov 2017 06:35:48 +0000 (15:35 +0900)
Change-Id: Id58aac1d130ccc9d83e640c07da9047eb82dbf82

test/wifi_manager_test.c

index 5b53de2653a75b94f24a480cfc2e51a0a7f1ba22..b1a7aacbb0274596d51da77e9e8faec012243cff 100755 (executable)
@@ -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':