From 08d38786cb6a7cff264bf717e84607d66ffd4921 Mon Sep 17 00:00:00 2001 From: SJ Date: Wed, 25 Sep 2013 22:43:37 +0200 Subject: [PATCH] imap fix --- src/imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imap.c b/src/imap.c index dc1fbcd4..a954ab2d 100644 --- a/src/imap.c +++ b/src/imap.c @@ -80,7 +80,7 @@ int read_response(int sd, char *buf, int buflen, int *seq, struct __data *data, int i=0, n, len=0, rc=0; char puf[MAXBUFSIZE], tagok[SMALLBUFSIZE], tagno[SMALLBUFSIZE]; - snprintf(tagok, sizeof(tagok)-1, "\r\nA%d OK", *seq); + snprintf(tagok, sizeof(tagok)-1, "A%d OK", *seq); snprintf(tagno, sizeof(tagno)-1, "A%d NO", *seq); memset(buf, 0, buflen);