fix SVACE issue 91/113491/1 accepted/tizen/ivi/20170208.103430 accepted/tizen/mobile/20170208.103342 accepted/tizen/tv/20170208.103358 accepted/tizen/wearable/20170208.103413 submit/tizen/20170208.034108
authorjomui <jongmun.woo@samsung.com>
Wed, 8 Feb 2017 02:14:14 +0000 (11:14 +0900)
committerjomui <jongmun.woo@samsung.com>
Wed, 8 Feb 2017 02:14:32 +0000 (11:14 +0900)
Signed-off-by: jomui <jongmun.woo@samsung.com>
Change-Id: I5aa1b82ea6f94a27e5db15cc6ab74f5310fd223d

test/location_test.c

index 75d69c7..8bc6ad7 100755 (executable)
@@ -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);