[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-167-g4319a8f

acab acab at 77e5149b-7576-45b1-b177-96237e5ba77b
Fri Jun 12 19:11:25 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 625adeb3bd7d029133f67acdee9b7cf88b370237
Author: acab <acab at 77e5149b-7576-45b1-b177-96237e5ba77b>
Date:   Thu Apr 16 23:13:46 2009 +0000

    WTF's written the milter docs?!
    
    git-svn-id: http://svn.clamav.net/svn/clamav-devel/trunk@5044 77e5149b-7576-45b1-b177-96237e5ba77b

diff --git a/clamav-milter/clamfi.c b/clamav-milter/clamfi.c
index 75a3327..69e31ad 100644
--- a/clamav-milter/clamfi.c
+++ b/clamav-milter/clamfi.c
@@ -94,9 +94,9 @@ static void add_x_header(SMFICTX *ctx, char *st, unsigned int scanned, unsigned
 	if(smfi_addheader(ctx, (char *)"X-Virus-Status", st) != MI_SUCCESS)
 	    logg("^Failed to add X-Virus-Status header\n");
     } else { /* Add */
-	if(smfi_insheader(ctx, 0, (char *)"X-Virus-Scanned", xvirushdr) != MI_SUCCESS)
+	if(smfi_insheader(ctx, 1, (char *)"X-Virus-Scanned", xvirushdr) != MI_SUCCESS)
 	    logg("^Failed to insert X-Virus-Scanned header\n");
-	if(smfi_insheader(ctx, 0, (char *)"X-Virus-Status", st) != MI_SUCCESS)
+	if(smfi_insheader(ctx, 1, (char *)"X-Virus-Status", st) != MI_SUCCESS)
 	    logg("^Failed to insert X-Virus-Status header\n");
     }
 }

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list