diff options
| author | Sam Varshavchik | 2018-12-03 20:52:27 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2018-12-03 20:52:27 -0500 |
| commit | a1d3a864cf488e9bd2c49dc01289e49d857fdeb7 (patch) | |
| tree | b8b38e101e8362c413914ae3890d9fee5bf51171 | |
| parent | e01dd5b2f84fd2a18c0ffc48096194f082b12aae (diff) | |
| download | courier-libs-a1d3a864cf488e9bd2c49dc01289e49d857fdeb7.tar.bz2 | |
Fix compliance with IMAP.
| -rw-r--r-- | imap/imapd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/imap/imapd.c b/imap/imapd.c index c616149..b71eb57 100644 --- a/imap/imapd.c +++ b/imap/imapd.c @@ -4052,17 +4052,17 @@ static int append(const char *tag, const char *mailbox, const char *path) } dirsync(path); + if (utf8_error) { + writes("* OK [ALERT] Your IMAP client does not appear to " + "correctly implement Unicode messages, " + "see https://tools.ietf.org/html/rfc6855.html\r\n"); + } writes(tag); writes(" OK [APPENDUID "); writen(new_uidv); writes(" "); writen(new_uid); writes("] APPEND Ok."); - if (utf8_error) { - writes(" [ALERT] Your IMAP client does not appear to " - "correctly implement Unicode messages, " - "see https://tools.ietf.org/html/rfc6855.html"); - } writes("\r\n"); return (0); } |
