freebsd-ports/security/clamav-devel/files/extra-patch-shared_output.c
Renato Botelho 01a61f0371 - Add an option to print logs on stderr instead stdout, it's useful to catch
logs and use on smtp log. In preparation to update spamcontro to 2.4 series.
- s/unarj/arj/ on clamscan man [1]
- Bump PORTREVISION because man change

Reported by:	Anton Yuzhaninov <citrin at citrin.ru> [1]
2006-05-26 16:49:53 +00:00

17 lines
329 B
C

--- shared/output.c.orig Thu May 18 22:10:40 2006
+++ shared/output.c Thu May 18 22:12:43 2006
@@ -236,7 +236,13 @@
return;
}
- fd = stdout;
+/* fd = stdout; (missing flag 'mprintf_stdout') --eh. */
+
+ if(mprintf_stdout)
+ fd = stdout;
+ else
+ fd = stderr;
+
/* legend:
* ! - error