summaryrefslogtreecommitdiff
path: root/mail/clamav/patches/patch-ah
blob: 441c45c23f638d6f77cc5936a3fc189fd981ab8f (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.15.4.1 2008/09/05 11:41:53 ghen Exp $

Build fixes.

--- clamav-milter/clamav-milter.c.orig	2008-09-01 20:19:44.000000000 +0300
+++ clamav-milter/clamav-milter.c	2008-09-04 08:28:44.000000000 +0300
@@ -3926,7 +3926,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"),
@@ -3940,7 +3940,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);
@@ -5129,7 +5129,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;