summaryrefslogtreecommitdiffstats
path: root/filter/f-util.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-11-18 15:01:36 +0100
committerPavel Machek <pavel@ucw.cz>1999-11-18 15:01:36 +0100
commitc7b43f33ae8d583ead531d76ed81f1b5deb507f3 (patch)
treeb8ec969609b791cd677800482908a3f9c2c1059f /filter/f-util.c
parentda40b6f753f4dd48dbcaebbe6174decb28705ab8 (diff)
downloadbird-c7b43f33ae8d583ead531d76ed81f1b5deb507f3.tar
bird-c7b43f33ae8d583ead531d76ed81f1b5deb507f3.zip
Split inst->code into inst->code and inst->aux. Both are only 16 bit,
so aux is suitable for storing type but not much more.
Diffstat (limited to 'filter/f-util.c')
-rw-r--r--filter/f-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/f-util.c b/filter/f-util.c
index 40805f8..b070d95 100644
--- a/filter/f-util.c
+++ b/filter/f-util.c
@@ -27,7 +27,7 @@ f_new_inst(void)
{
struct f_inst * ret;
ret = cfg_alloc(sizeof(struct f_inst));
- ret->code = 0;
+ ret->code = ret->aux = 0;
ret->arg1 = ret->arg2 = ret->next = NULL;
return ret;
}