On Sat, May 24, 2014 at 01:44:11PM +0200, Sven Eckelmann wrote:
Signed-off-by: Sven Eckelmann sven@narfation.org
Duh!
Thanks Sven
Acked-by: Andrew Lunn andrew@lunn.ch
Andrew
gpsd/alfred-gpsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gpsd/alfred-gpsd.c b/gpsd/alfred-gpsd.c index ef20f28..089f2af 100644 --- a/gpsd/alfred-gpsd.c +++ b/gpsd/alfred-gpsd.c @@ -370,7 +370,7 @@ static void gpsd_parse_location(struct globals *globals, exit(EXIT_FAILURE); }
- if ((alt < -1000) || (lon > 9000)) {
- if ((alt < -1000) || (alt > 9000)) { /* No support for aircraft or submarines! */ printf("Invalid altitude\n"); gpsd_usage();
-- 2.0.0.rc2