altos: check for valid flight number in ao_log_delete
authorKeith Packard <keithp@keithp.com>
Wed, 12 Jan 2011 20:41:26 +0000 (12:41 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 12 Jan 2011 20:41:26 +0000 (12:41 -0800)
Zero is not a valid flight number, and ao_log_flight uses that to
indicate 'no flight in this slot'. Check the user-provided input for
zero before looking through the slots.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found