diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-12 21:01:38 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-12 21:01:38 +0000 |
commit | 6b9fa320806ce8a734d865ebcb8052ba0e50c527 (patch) | |
tree | 29c22c36dd94eb3960fc6066ceac3a12bd1d3d46 /filter | |
parent | 6a9f28b0b9254ba21c36126d6f10388815840001 (diff) |
Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,
several debug() calls converted to DBG().
Diffstat (limited to 'filter')
-rw-r--r-- | filter/filter.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/filter/filter.c b/filter/filter.c index 8fd0f78d..3bb21e68 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -9,6 +9,8 @@ * */ +#undef LOCAL_DEBUG + #include <stdio.h> #include <fcntl.h> #include <unistd.h> @@ -525,7 +527,7 @@ f_run(struct filter *filter, struct rte **rte, struct ea_list **tmp_attrs, struc { struct f_inst *inst; struct f_val res; - debug( "Running filter `%s'...", filter->name ); + DBG( "Running filter `%s'...", filter->name ); f_tmp_attrs = tmp_attrs; f_rte = rte; @@ -535,7 +537,7 @@ f_run(struct filter *filter, struct rte **rte, struct ea_list **tmp_attrs, struc res = interpret(inst); if (res.type != T_RETURN) return F_ERROR; - debug( "done (%d)\n", res.val.i ); + DBG( "done (%d)\n", res.val.i ); return res.val.i; } |