Minor changes
* imap4d/util.c (imap4d_readline): Fix loop break condition. * imap4d/testsuite/lib/imap4d.exp: Send newline after a literal.
Showing
3 changed files
with
5 additions
and
3 deletions
1 | 2008-08-13 Sergey Poznyakoff <gray@gnu.org.ua> | 1 | 2008-08-13 Sergey Poznyakoff <gray@gnu.org.ua> |
2 | 2 | ||
3 | * imap4d/util.c (imap4d_readline): Fix loop break condition. | ||
4 | * imap4d/testsuite/lib/imap4d.exp: Send newline after a literal. | ||
5 | |||
3 | Bugfixes. | 6 | Bugfixes. |
4 | * imap4d/copy.c, imap4d/fetch.c, imap4d/store.c: Do not report | 7 | * imap4d/copy.c, imap4d/fetch.c, imap4d/store.c: Do not report |
5 | error on non-existing message sets (RFC 3501, section 6.4.8). | 8 | error on non-existing message sets (RFC 3501, section 6.4.8). | ... | ... |
... | @@ -282,7 +282,7 @@ proc imap4d_test {args} { | ... | @@ -282,7 +282,7 @@ proc imap4d_test {args} { |
282 | } | 282 | } |
283 | 283 | ||
284 | verbose "Sending $command_data" 3 | 284 | verbose "Sending $command_data" 3 |
285 | mu_send $command_data | 285 | mu_send "$command_data\n" |
286 | 286 | ||
287 | set s [split $command_data "\n"] | 287 | set s [split $command_data "\n"] |
288 | set s [lrange $s 0 [expr [llength $s] - 2]] | 288 | set s [lrange $s 0 [expr [llength $s] - 2]] | ... | ... |
... | @@ -1395,9 +1395,8 @@ imap4d_readline (struct imap4d_tokbuf *tok) | ... | @@ -1395,9 +1395,8 @@ imap4d_readline (struct imap4d_tokbuf *tok) |
1395 | tok->level += len; | 1395 | tok->level += len; |
1396 | tok->buffer[tok->level++] = 0; | 1396 | tok->buffer[tok->level++] = 0; |
1397 | tok->argp[tok->argc - 1] = off; | 1397 | tok->argp[tok->argc - 1] = off; |
1398 | if (buf[len-1] != '\n') | ||
1399 | continue; | ||
1400 | } | 1398 | } |
1399 | else | ||
1401 | break; | 1400 | break; |
1402 | } | 1401 | } |
1403 | } | 1402 | } | ... | ... |
-
Please register or sign in to post a comment