From 27d016eeb4536fdebd89882133fc5daa614ecf17 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Sat, 12 Mar 2011 12:27:23 +0100 Subject: make debugging dynamic --- dspam-exec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dspam-exec.c') diff --git a/dspam-exec.c b/dspam-exec.c index a9e0c1d..c4a49b4 100644 --- a/dspam-exec.c +++ b/dspam-exec.c @@ -141,13 +141,11 @@ static int call_dspam(const char *signature, enum classification wanted) for (i = 0; i < extra_args_num; i++) argv[i + 4] = (char *)extra_args[i]; -#ifdef DEBUG_SYSLOG /* * not good with stderr debuggin since we then write to * stderr which our parent takes as a bug */ - debugv(argv); -#endif + debugv_not_stderr(argv); execv(dspam_binary, argv); debug("executing %s failed: %d (uid=%d, gid=%d)", -- cgit v1.2.3