summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-11-10 14:57:04 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-11-10 14:57:04 +0000
commitbe33c14af56c50479a2756af326823215b453c83 (patch)
treecf007f7f7c6a2ac0d805201cd82e461b6b2bb597
parentb98edc6807159478da0e488da17f7d809e9a88a5 (diff)
Eliminate space after colon in "RCPT TO:" as required by RFC.
-rw-r--r--usr.sbin/smtpd/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/client.c b/usr.sbin/smtpd/client.c
index fbf82806547..70ad158ae26 100644
--- a/usr.sbin/smtpd/client.c
+++ b/usr.sbin/smtpd/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.11 2009/11/10 14:54:13 jacekm Exp $ */
+/* $OpenBSD: client.c,v 1.12 2009/11/10 14:57:03 jacekm Exp $ */
/*
* Copyright (c) 2009 Jacek Masiulaniec <jacekm@dobremiasto.net>
@@ -630,7 +630,7 @@ client_write(struct smtp_client *sp)
if (sp->rcptsent == NULL)
goto done;
- if (client_putln(sp, "RCPT TO: <%s>", sp->rcptsent->mbox) < 0)
+ if (client_putln(sp, "RCPT TO:<%s>", sp->rcptsent->mbox) < 0)
goto done;
break;