aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dspam-exec.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/dspam-exec.c b/dspam-exec.c
index f0b1824..e70d1d5 100644
--- a/dspam-exec.c
+++ b/dspam-exec.c
@@ -131,8 +131,14 @@ static int call_dspam(const char *signature, enum classification wanted)
argv[3] = (char *)class_arg;
argv[4] = (char *)sign_arg;
+#ifdef DEBUG_SYSLOG
+ /*
+ * not good with stderr debuggin since we then write to
+ * stderr which our parent takes as a bug
+ */
debug("antispam: %s --source=error --stdout %s %s ...",
dspam_binary, class_arg, sign_arg);
+#endif
for (i = 0; i < extra_args_num; i++)
argv[i + 5] = (char *)extra_args[i];