Browse code

WTF's written the milter docs?!

git-svn: trunk@5044

aCaB authored on 2009/04/17 08:13:46
Showing 1 changed files
... ...
@@ -94,9 +94,9 @@ static void add_x_header(SMFICTX *ctx, char *st, unsigned int scanned, unsigned
94 94
 	if(smfi_addheader(ctx, (char *)"X-Virus-Status", st) != MI_SUCCESS)
95 95
 	    logg("^Failed to add X-Virus-Status header\n");
96 96
     } else { /* Add */
97
-	if(smfi_insheader(ctx, 0, (char *)"X-Virus-Scanned", xvirushdr) != MI_SUCCESS)
97
+	if(smfi_insheader(ctx, 1, (char *)"X-Virus-Scanned", xvirushdr) != MI_SUCCESS)
98 98
 	    logg("^Failed to insert X-Virus-Scanned header\n");
99
-	if(smfi_insheader(ctx, 0, (char *)"X-Virus-Status", st) != MI_SUCCESS)
99
+	if(smfi_insheader(ctx, 1, (char *)"X-Virus-Status", st) != MI_SUCCESS)
100 100
 	    logg("^Failed to insert X-Virus-Status header\n");
101 101
     }
102 102
 }