diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-03-02 01:33:58 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-03-02 01:33:58 +0000 |
commit | 7eba3af6a0470bf25ec360cc714c1ffd75cb3e7d (patch) | |
tree | c684cd0265df844d4815396618775c1bcaa397a0 /libsylph/imap.c | |
parent | 50c7a4570abb255fd0f7dcd82fbefef30b5f3964 (diff) |
imap.c: relaxed the response check of AUTHENTICATE and APPEND.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3028 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/imap.c')
-rw-r--r-- | libsylph/imap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsylph/imap.c b/libsylph/imap.c index c090384f..26c9f7ff 100644 --- a/libsylph/imap.c +++ b/libsylph/imap.c @@ -3884,7 +3884,7 @@ static gint imap_cmd_authenticate(IMAPSession *session, const gchar *user, return ok; } ok = imap_cmd_gen_recv(session, &buf); - if (ok != IMAP_SUCCESS || buf[0] != '+' || buf[1] != ' ') { + if (ok != IMAP_SUCCESS || buf[0] != '+') { g_free(buf); return IMAP_ERROR; } @@ -4324,7 +4324,7 @@ static gint imap_cmd_append(IMAPSession *session, const gchar *destfolder, } ok = imap_cmd_gen_recv(session, &ret); - if (ok != IMAP_SUCCESS || ret[0] != '+' || ret[1] != ' ') { + if (ok != IMAP_SUCCESS || ret[0] != '+') { log_warning(_("can't append %s to %s\n"), file, destfolder_); g_free(ret); fclose(tmp); |