diff options
author | Keith Packard <keithp@keithp.com> | 2011-01-12 12:41:26 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-01-12 12:41:26 -0800 |
commit | d794ef9e0fbe4d13259db1bbd69f01717c14400b (patch) | |
tree | 098bfd628bfdf10ea45477ecab1f9915ba8c04a4 /src/scheme/ao_scheme_lambda.c | |
parent | 8801b8c1947bd39f7c985b91a2ba8dbc81bcc91a (diff) |
altos: check for valid flight number in ao_log_delete
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>
Diffstat (limited to 'src/scheme/ao_scheme_lambda.c')
0 files changed, 0 insertions, 0 deletions