Commit d1dbce46 d1dbce466ad657f686357316863e4506823a38a6 by Sergey Poznyakoff

Minor changes

* imap4d/util.c (imap4d_readline): Fix loop break condition.
* imap4d/testsuite/lib/imap4d.exp: Send newline after a literal.
1 parent a6dfcb46
2008-08-13 Sergey Poznyakoff <gray@gnu.org.ua>
* imap4d/util.c (imap4d_readline): Fix loop break condition.
* imap4d/testsuite/lib/imap4d.exp: Send newline after a literal.
Bugfixes.
* imap4d/copy.c, imap4d/fetch.c, imap4d/store.c: Do not report
error on non-existing message sets (RFC 3501, section 6.4.8).
......
......@@ -282,7 +282,7 @@ proc imap4d_test {args} {
}
verbose "Sending $command_data" 3
mu_send $command_data
mu_send "$command_data\n"
set s [split $command_data "\n"]
set s [lrange $s 0 [expr [llength $s] - 2]]
......
......@@ -1395,9 +1395,8 @@ imap4d_readline (struct imap4d_tokbuf *tok)
tok->level += len;
tok->buffer[tok->level++] = 0;
tok->argp[tok->argc - 1] = off;
if (buf[len-1] != '\n')
continue;
}
else
break;
}
}
......