diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2002-09-09 00:01:33 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2002-09-09 00:01:33 +0000 |
commit | c24ffe47f2b010ed00d0121469b29ff6434b484d (patch) | |
tree | 4c56a7e081a97e8484c5921ffc67e4892f134638 /mail/zmailer | |
parent | 191d6c8a5e974a37837984e3954bd6961aed9239 (diff) | |
download | ports-c24ffe47f2b010ed00d0121469b29ff6434b484d.tar.gz ports-c24ffe47f2b010ed00d0121469b29ff6434b484d.zip |
Oops. This patch was reversed.
PR: ports/42562
Noticed by: Tilman Linneweh <tilman@arved.de>
Notes
Notes:
svn path=/head/; revision=65865
Diffstat (limited to 'mail/zmailer')
-rw-r--r-- | mail/zmailer/files/patch-smtpserver::smtpcmds.c | 4 |
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) |