* imap4d/util.c (imap4d_readline): Bugfix.
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -1360,6 +1360,8 @@ imap4d_readline (struct imap4d_tokbuf *tok) | ... | @@ -1360,6 +1360,8 @@ imap4d_readline (struct imap4d_tokbuf *tok) |
1360 | if (transcript) | 1360 | if (transcript) |
1361 | mu_diag_output (MU_DIAG_DEBUG, "recv: %s", tok->buffer); | 1361 | mu_diag_output (MU_DIAG_DEBUG, "recv: %s", tok->buffer); |
1362 | imap4d_tokbuf_tokenize (tok, off); | 1362 | imap4d_tokbuf_tokenize (tok, off); |
1363 | if (tok->argc == 0) | ||
1364 | break; | ||
1363 | last_arg = tok->buffer + tok->argp[tok->argc - 1]; | 1365 | last_arg = tok->buffer + tok->argp[tok->argc - 1]; |
1364 | if (last_arg[0] == '{' && last_arg[strlen(last_arg)-1] == '}') | 1366 | if (last_arg[0] == '{' && last_arg[strlen(last_arg)-1] == '}') |
1365 | { | 1367 | { | ... | ... |
-
Please register or sign in to post a comment