From 8697f0ab99257fde99c3fc560b3a1cdb10e49f2b Mon Sep 17 00:00:00 2001 From: Rob Funk Date: Wed, 21 Jul 2004 17:05:58 +0000 Subject: Remove space after "MAIL FROM:" (patch from Phil Endecott) svn path=/trunk/; revision=3925 --- smtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smtp.c') diff --git a/smtp.c b/smtp.c index fd987950..2595a57e 100644 --- a/smtp.c +++ b/smtp.c @@ -232,13 +232,13 @@ int SMTP_from(int sock, const char *from, const char *opts) int ok; char buf[MSGBUFSIZE]; - if (strchr(from, '<')) + if (from[0]=='<') #ifdef HAVE_SNPRINTF snprintf(buf, sizeof(buf), #else sprintf(buf, #endif /* HAVE_SNPRINTF */ - "MAIL FROM: %s", from); + "MAIL FROM:%s", from); else #ifdef HAVE_SNPRINTF snprintf(buf, sizeof(buf), -- cgit v1.2.3