summaryrefslogtreecommitdiff
path: root/mail/clamav/patches/patch-ah
blob: d5ae5b10bf2557a0cabef681cbe955e8e45bcab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-ah,v 1.13.2.2 2008/06/13 13:57:36 ghen Exp $

Build fixes.

--- clamav-milter/clamav-milter.c.orig	2008-05-27 13:40:29.000000000 +0300
+++ clamav-milter/clamav-milter.c	2008-06-10 10:42:12.000000000 +0300
@@ -3830,7 +3830,7 @@
 						 * the postmaster, so include
 						 * some useful information
 						 */
-						fprintf(sendmail, _("The message %1$s sent from %2$s to\n"),
+						fprintf(sendmail, _("The message %s sent from %s to\n"),
 							sendmailId, privdata->from);
 					else
 						fprintf(sendmail, _("A message sent from %s to\n"),
@@ -3844,7 +3844,7 @@
 						fprintf(sendmail, _("\nThe message in question has been quarantined as %s\n"), privdata->filename);
 
 					if(hflag) {
-						fprintf(sendmail, _("\nThe message was received by %1$s from %2$s via %3$s\n\n"),
+						fprintf(sendmail, _("\nThe message was received by %s from %s via %s\n\n"),
 							smfi_getsymval(ctx, "j"), privdata->from,
 							smfi_getsymval(ctx, "_"));
 						fputs(_("For your information, the original message headers were:\n\n"), sendmail);
@@ -5034,7 +5034,7 @@
 	cli_dbgmsg("qfile move '%s' to '%s'\n", privdata->filename, newname);
 
 	if(move(privdata->filename, newname) < 0) {
-		logg(_("^Can't rename %1$s to %2$s\n"),
+		logg(_("^Can't rename %s to %s\n"),
 			privdata->filename, newname);
 		free(newname);
 		return -1;