diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-25 13:53:34 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-25 13:53:34 +0000 |
commit | fedc30e5c42a5b3dc3e5bf1dffd8dde0ad42e436 (patch) | |
tree | a4acfe56f8bc61247964398331404f3f41fe89f7 /driver.c | |
parent | b6f3877eda97e6e610808c255612769c92181be4 (diff) | |
download | fetchmail-fedc30e5c42a5b3dc3e5bf1dffd8dde0ad42e436.tar.gz fetchmail-fedc30e5c42a5b3dc3e5bf1dffd8dde0ad42e436.tar.bz2 fetchmail-fedc30e5c42a5b3dc3e5bf1dffd8dde0ad42e436.zip |
Corrected 8BITMIME.
svn path=/trunk/; revision=825
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -638,9 +638,11 @@ char *realname; /* real name of host */ options[0] = '\0'; if ((ctl->server.esmtp_options & ESMTP_8BITMIME) && ctthdr - && (ctt = nxtaddr(ctthdr)) - && (!strcasecmp(ctt,"7BIT")||!strcasecmp(ctt,"8BIT"))) - sprintf(options, " BODY=%s", ctt); + && (ctt = nxtaddr(ctthdr))) + if (!strcasecmp(ctt,"7BIT")) + sprintf(options, " BODY=7BIT", ctt); + else if (!strcasecmp(ctt,"8BIT")) + sprintf(options, " BODY=8BITMIME", ctt); if ((ctl->server.esmtp_options & ESMTP_SIZE) && !delimited) sprintf(options + strlen(options), " SIZE=%d", len); |