diff options
| author | James Aylett <james@tartarus.org> | 2000-12-21 16:59:38 +0000 |
|---|---|---|
| committer | James Aylett <james@tartarus.org> | 2000-12-21 16:59:38 +0000 |
| commit | c93b0a5afb0ad410fd428816113161079fd0d76c (patch) | |
| tree | 2bd0f61630539ecbda8bba6f411067d7a9988a3a /tree23.c | |
| parent | c60f304fb62395cff28f273f1ec206c0c4df1492 (diff) | |
| download | halibut-c93b0a5afb0ad410fd428816113161079fd0d76c.zip halibut-c93b0a5afb0ad410fd428816113161079fd0d76c.tar.gz halibut-c93b0a5afb0ad410fd428816113161079fd0d76c.tar.bz2 halibut-c93b0a5afb0ad410fd428816113161079fd0d76c.tar.xz | |
Initial checkin of xhtml backend.
[originally from svn r828]
Diffstat (limited to 'tree23.c')
| -rw-r--r-- | tree23.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -195,9 +195,8 @@ void *find23(tree23 *t, void *e, int (*cmp)(void *, void *)) { node23 *n; int c; - if (t->root == NULL) + if (t == NULL || t->root == NULL) return NULL; - n = t->root; while (n) { c = cmp(e, n->elems[0]); |