summaryrefslogtreecommitdiffstats
path: root/filter/filter.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-10 18:36:40 +0200
committerPavel Machek <pavel@ucw.cz>2000-04-10 18:36:40 +0200
commit9196e9f8f951f7cbd372b9243dd10fc761f2fbe6 (patch)
treec7890f56a9cda17dab12239e2df4b0aba78fef0a /filter/filter.c
parent7f77e2500218c197ba56a473d587dedda7309029 (diff)
downloadbird-9196e9f8f951f7cbd372b9243dd10fc761f2fbe6.tar
bird-9196e9f8f951f7cbd372b9243dd10fc761f2fbe6.zip
Commit fixes.
Diffstat (limited to 'filter/filter.c')
-rw-r--r--filter/filter.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/filter/filter.c b/filter/filter.c
index 7549d6b..cfb30f9 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -570,7 +570,11 @@ filter_same(struct filter *new, struct filter *old)
return i_same(new->root, old->root);
}
-/* This should end up far away from here! */
+/* This should end up far away from here!
+ *
+ * FIXME: It should take struct adata *, not u8 * + length; but that makes it a little more difficult to test.
+ * Or maybe both versions are usefull?
+ */
int
path_getlen(u8 *p, int len)
@@ -644,8 +648,6 @@ path_format(u8 *p, int len)
printf( "Asterix now %d\n", asterix ); \
if (asterix) { if (*++mask == PM_END) { printf( "Quick exit\n" ); return 1; } } \
} while(0)
-
-
int
path_match(u8 *p, int len, s32 *mask)
{