--- output.c    2007-03-02 01:43:18.000000000 +0100
+++ ../../clamav-0.90.1-mod/shared/output.c     2007-03-03 18:49:06.000000000 +0100
@@ -266,7 +266,16 @@
     if(mprintf_disabled)
        return;

-    fd = stdout;
+/*    fd = stdout; */
+
+
+/*    fd = stdout; (missing flag 'mprintf_stdout') --eh.  */
+
+     if(mprintf_stdout)
+        fd = stdout;
+     else
+        fd = stderr;
+

 /* legend:
  * ! - error