summaryrefslogtreecommitdiff
path: root/security/clamav/files/extra-patch-common_output.c
blob: c87b4daaff95653e7d9839f3b70a6e14e0a2bcbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- common/output.c.orig	Thu May 18 22:10:40 2006
+++ common/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