Skip to content
Snippets Groups Projects
Commit 6b49382d authored by wlott's avatar wlott
Browse files

Check for end of lists by comparing with NIL, not NULL.

parent 0ac22508
No related branches found
No related tags found
No related merge requests found
/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/ldb/Attic/print.c,v 1.4 1990/03/08 17:30:04 wlott Exp $ */ /* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/ldb/Attic/print.c,v 1.5 1990/03/18 15:17:00 wlott Exp $ */
#include <stdio.h> #include <stdio.h>
#include "ldb.h" #include "ldb.h"
...@@ -222,7 +222,7 @@ lispobj obj; ...@@ -222,7 +222,7 @@ lispobj obj;
print_obj(NULL, cons->car); print_obj(NULL, cons->car);
obj = cons->cdr; obj = cons->cdr;
space = TRUE; space = TRUE;
if (obj == NULL) if (obj == NIL)
break; break;
} }
if (obj != NIL) { if (obj != NIL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment