aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.c
diff options
context:
space:
mode:
authorRob Funk <rfunk@funknet.net>2004-07-21 17:05:58 +0000
committerRob Funk <rfunk@funknet.net>2004-07-21 17:05:58 +0000
commit8697f0ab99257fde99c3fc560b3a1cdb10e49f2b (patch)
treece29a6021fb023986ef5d8230f2981852671522a /smtp.c
parent6c554f0224fdbb205e3ed245485af3e3d91648d3 (diff)
downloadfetchmail-8697f0ab99257fde99c3fc560b3a1cdb10e49f2b.tar.gz
fetchmail-8697f0ab99257fde99c3fc560b3a1cdb10e49f2b.tar.bz2
fetchmail-8697f0ab99257fde99c3fc560b3a1cdb10e49f2b.zip
Remove space after "MAIL FROM:" (patch from Phil Endecott)
svn path=/trunk/; revision=3925
Diffstat (limited to 'smtp.c')
-rw-r--r--smtp.c4
1 files changed, 2 insertions, 2 deletions
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),