projects
/
platform
/
core
/
multimedia
/
libmm-radio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0195f
)
fix svace 49814
45/52045/1
author
Eunhae Choi
<eunhae1.choi@samsung.com>
Wed, 18 Nov 2015 11:41:12 +0000
(20:41 +0900)
committer
Eunhae Choi
<eunhae1.choi@samsung.com>
Wed, 18 Nov 2015 11:41:12 +0000
(20:41 +0900)
Change-Id: I53d2cab560a382d1beb163db94a2161850fcf901
test/mm_radio_rt_api_test.c
patch
|
blob
|
history
diff --git
a/test/mm_radio_rt_api_test.c
b/test/mm_radio_rt_api_test.c
index
1b1224f
..
1f3c9a9
100755
(executable)
--- a/
test/mm_radio_rt_api_test.c
+++ b/
test/mm_radio_rt_api_test.c
@@
-227,13
+227,12
@@
int __menu(void)
if ( scanf("%d", &menu_item) == 0)
{
char temp[_MAX_INPUT_STRING_];
- if (scanf("%s", temp) ==0)
- {
- printf("Error while flushing the input buffer - but lets continue\n");
- }
- return -1;
+ if (scanf("%99s", temp) ==0)
+ {
+ printf("Error while flushing the input buffer - but lets continue\n");
}
-
+ return -1;
+ }
if ( menu_item > MENU_ITEM_MAX )
menu_item = -1;