aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/imap.c4
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);