From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 24 May 2014 16:45:45 +0200 From: Andrew Lunn Message-ID: <20140524144545.GE31314@lunn.ch> References: <1400931855-7961-1-git-send-email-sven@narfation.org> <1400931855-7961-6-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1400931855-7961-6-git-send-email-sven@narfation.org> Subject: Re: [B.A.T.M.A.N.] [PATCH 06/10] alfred-gpsd: Fix altitute verification check Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking Cc: Sven Eckelmann On Sat, May 24, 2014 at 01:44:11PM +0200, Sven Eckelmann wrote: > Signed-off-by: Sven Eckelmann Duh! Thanks Sven Acked-by: Andrew Lunn 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 >