aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ChangeLog.ja4
-rw-r--r--libsylph/imap.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ed7506f..8b034bdb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2005-10-12
+ * libsylph/imap.c: imap_cmd_ok(): fixed parsing of literal data.
+
+2005-10-12
+
* src/summaryview.c: brought back 'Crate filter rule' in the context
menu.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 0c22fff8..4d5f7bd9 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,9 @@
2005-10-12
+ * libsylph/imap.c: imap_cmd_ok(): リテラルデータのパースを修正。
+
+2005-10-12
+
* src/summaryview.c: コンテキストメニューに「振り分けルールを作成」
を復活。
diff --git a/libsylph/imap.c b/libsylph/imap.c
index 92926d3e..0f75f73c 100644
--- a/libsylph/imap.c
+++ b/libsylph/imap.c
@@ -3744,7 +3744,7 @@ static gint imap_cmd_ok(IMAPSession *session, GPtrArray *argbuf)
/* literal */
p = strchr_cpy(p + 1, '}', obuf, sizeof(obuf));
len = atoi(obuf);
- if (len < 0 || p != '\0') {
+ if (len < 0 || p == NULL || *p != '\0') {
g_free(buf);
ok = IMAP_ERROR;
break;