summaryrefslogtreecommitdiffstats
path: root/filter/tree.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-10-28 23:03:36 +0200
committerPavel Machek <pavel@ucw.cz>1999-10-28 23:03:36 +0200
commit41be4444f2f548c5cc135593b2c820180a22ff99 (patch)
treedb23c6c220b8a0304e6e29b07be67ff628099e23 /filter/tree.c
parentc2250f91c749f563229ad624bbd03053c1d671d0 (diff)
downloadbird-41be4444f2f548c5cc135593b2c820180a22ff99.tar
bird-41be4444f2f548c5cc135593b2c820180a22ff99.zip
switch() { } done right.
Diffstat (limited to 'filter/tree.c')
-rw-r--r--filter/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/tree.c b/filter/tree.c
index ea1f18f..43888f0 100644
--- a/filter/tree.c
+++ b/filter/tree.c
@@ -73,7 +73,7 @@ struct f_tree *
find_tree(struct f_tree *t, struct f_val val)
{
if (!t)
- return 0;
+ return NULL;
if ((val_compare(t->from, val) != 1) &&
(val_compare(t->to, val) != -1))
return t;