aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2002-09-09 08:01:33 +0800
committernectar <nectar@FreeBSD.org>2002-09-09 08:01:33 +0800
commit7124870ea74fb2d313ada2bcc7f983af73643e86 (patch)
treed5c17b7b76e366660e075af92d75b6029d9e3bb0
parent5f45feb1a41157669fce96b970936394d2efc151 (diff)
downloadfreebsd-ports-gnome-7124870ea74fb2d313ada2bcc7f983af73643e86.tar.gz
freebsd-ports-gnome-7124870ea74fb2d313ada2bcc7f983af73643e86.tar.zst
freebsd-ports-gnome-7124870ea74fb2d313ada2bcc7f983af73643e86.zip
Oops. This patch was reversed.
PR: ports/42562 Noticed by: Tilman Linneweh <tilman@arved.de>
-rw-r--r--mail/zmailer/files/patch-smtpserver::smtpcmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/zmailer/files/patch-smtpserver::smtpcmds.c b/mail/zmailer/files/patch-smtpserver::smtpcmds.c
index 4fb2b118acd6..f64ad2a53687 100644
--- a/mail/zmailer/files/patch-smtpserver::smtpcmds.c
+++ b/mail/zmailer/files/patch-smtpserver::smtpcmds.c
@@ -4,8 +4,8 @@
if (STYLE(SS->cfinfo, 'h')) {
char argbuf[MAXHOSTNAMELEN+30];
char *s;
-- snprintf(argbuf, sizeof(argbuf), "%s %s", SS->rhostname,
-+ sprintf(argbuf,"%s %s", SS->rhostname,
+- sprintf(argbuf,"%s %s", SS->rhostname,
++ snprintf(argbuf, sizeof(argbuf), "%s %s", SS->rhostname,
((SS->ihostaddr && (SS->ihostaddr[0] != '\0'))
? SS->ihostaddr : "[0.0.0.0]"));
if ((s = router(SS, RKEY_HELLO, 1, argbuf, strlen(argbuf))) == NULL)