Mercurial > dovecot > original-hg > dovecot-1.2
changeset 2655:2b5d4de3d827 HEAD
Error message update
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 23 Sep 2004 12:18:39 +0300 |
parents | b522b7cea776 |
children | 4a708855a533 |
files | src/imap/imap-fetch-body.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/imap-fetch-body.c Wed Sep 22 22:53:18 2004 +0300 +++ b/src/imap/imap-fetch-body.c Thu Sep 23 12:18:39 2004 +0300 @@ -701,6 +701,7 @@ int fetch_body_section_init(struct imap_fetch_context *ctx, const char *arg) { struct imap_fetch_body_data *body; + const char *partial; const char *p = arg + 4; body = p_new(ctx->client->cmd_pool, struct imap_fetch_body_data, 1); @@ -730,6 +731,7 @@ if (*++p == '<') { /* <start.end> */ + partial = p; p++; body->skip_set = TRUE; @@ -755,7 +757,9 @@ if (*p != '>') { client_send_command_error(ctx->client, - "Invalid BODY[..] parameter: Missing '>'"); + t_strdup_printf("Invalid BODY[..] parameter: " + "Missing '>' in '%s'", + partial)); return FALSE; } }