扩大buff保证OOS参数能配置成功
Change-Id: Ie7dcc15b02e833883ff4cc30d21c9ad04857c284
diff --git a/mbtk/test/liblynq_lib/lynq_nw_test.c b/mbtk/test/liblynq_lib/lynq_nw_test.c
index bad1d68..faaf2f0 100755
--- a/mbtk/test/liblynq_lib/lynq_nw_test.c
+++ b/mbtk/test/liblynq_lib/lynq_nw_test.c
@@ -422,22 +422,22 @@
*/
int p1,p2,p3;
printf("input phase 1 number:\n");
- memset(operator, 0x0, 3);
- fgets(operator, 3, stdin);
+ memset(operator, 0x0, 10);
+ fgets(operator, 10, stdin);
fflush(stdin);
p1 = atoi(operator);
printf("phase 1 number:%s\n", operator);
printf("input phase 2 number:\n");
- memset(operator, 0x0, 3);
- fgets(operator, 3, stdin);
+ memset(operator, 0x0, 10);
+ fgets(operator, 10, stdin);
fflush(stdin);
p2 = atoi(operator);
printf("phase 2 number:%s\n", operator);
printf("input phase 3 number:\n");
- memset(operator, 0x0, 3);
- fgets(operator, 3, stdin);
+ memset(operator, 0x0, 10);
+ fgets(operator, 10, stdin);
fflush(stdin);
p3 = atoi(operator);
printf("phase 3 number:%s\n", operator);