Phil Sutter 881fad86fa evaluate: Fix debug output
When introducing output_fp, debug output in src/evaluate.c was not
adjusted and therefore broke.

This patch restores eval debug output by applying the following changes:

- Change erec_print() and erec_print_list() to take a struct output_ctx
  pointer as first argument and use output_fp field as destination to
  print to.
- Drop octx_debug_dummy variable and instead use octx pointer from
  struct eval_ctx for debug output.
- Add missing calls to erec_destroy() in eval debug output which should
  eliminate another mem leak.

Fixes: 2535ba7006f22 ("src: get rid of printf")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2017-10-06 14:30:56 +02:00
..
2017-08-23 23:42:33 +02:00
2017-09-29 13:54:21 +02:00
2017-09-29 12:37:51 +02:00
2017-10-06 14:30:56 +02:00
2017-06-30 12:44:54 +02:00
2017-06-30 12:44:54 +02:00
2015-04-11 19:22:45 +02:00
2009-03-18 04:55:00 +01:00
2017-06-30 12:44:54 +02:00
2017-09-29 12:37:51 +02:00
2017-09-29 12:37:51 +02:00
2017-09-29 12:37:51 +02:00
2017-06-30 12:44:54 +02:00
2017-09-29 12:37:51 +02:00
2017-08-22 23:51:02 +02:00
2017-08-23 23:42:33 +02:00
2017-08-17 12:48:20 +02:00