diff options
author | jomui <jongmun.woo@samsung.com> | 2017-02-08 11:14:14 +0900 |
---|---|---|
committer | jomui <jongmun.woo@samsung.com> | 2017-02-08 11:14:32 +0900 |
commit | d2020f2355215c15da9ed03a2d366403d2ac664b (patch) | |
tree | ad5c5a43a6301175b33767663a598a81f5beca30 | |
parent | 77b266ed7f3e6f7a7e73334163a0341b55599b04 (diff) | |
download | location-manager-d2020f2355215c15da9ed03a2d366403d2ac664b.tar.gz location-manager-d2020f2355215c15da9ed03a2d366403d2ac664b.tar.bz2 location-manager-d2020f2355215c15da9ed03a2d366403d2ac664b.zip |
fix SVACE issuesubmit/tizen/20170208.034108accepted/tizen/wearable/20170208.103413accepted/tizen/tv/20170208.103358accepted/tizen/mobile/20170208.103342accepted/tizen/ivi/20170208.103430
Signed-off-by: jomui <jongmun.woo@samsung.com>
Change-Id: I5aa1b82ea6f94a27e5db15cc6ab74f5310fd223d
-rwxr-xr-x | test/location_test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/location_test.c b/test/location_test.c index 75d69c7..8bc6ad7 100755 --- a/test/location_test.c +++ b/test/location_test.c @@ -520,6 +520,9 @@ static int location_test() fprintf(stderr, "\n Input position interval ==> "); ret = scanf("%d", &interval); + if (interval > 1000 && interval < -1000) + interval = 1; + int method = menu - 11; ret = location_manager_create(method, &manager); fprintf(stderr, "location_manager_create (method: %d): %d\n", method, ret); |