altos/scheme: Avoid crashing with non-list in length
authorKeith Packard <keithp@keithp.com>
Sun, 10 Dec 2017 08:02:34 +0000 (00:02 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 10 Dec 2017 08:02:34 +0000 (00:02 -0800)
Use ao_scheme_cons_cdr to fetch the next list element as that returns
NULL for non-cons elements.

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

No differences found