dovecot-2.0: test-message-header-parser: Removed accidentally co...

dovecot at dovecot.org dovecot at dovecot.org
Tue Aug 11 19:48:00 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/4168fd6a6a33
changeset: 9763:4168fd6a6a33
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Aug 11 12:47:46 2009 -0400
description:
test-message-header-parser: Removed accidentally committed debug code.

diffstat:

1 file changed, 2 deletions(-)
src/lib-mail/test-message-header-parser.c |    2 --

diffs (12 lines):

diff -r 70dab9dedda0 -r 4168fd6a6a33 src/lib-mail/test-message-header-parser.c
--- a/src/lib-mail/test-message-header-parser.c	Sun Aug 09 17:53:07 2009 -0400
+++ b/src/lib-mail/test-message-header-parser.c	Tue Aug 11 12:47:46 2009 -0400
@@ -81,8 +81,6 @@ test_message_header_parser_one(struct me
 	test_assert(hdr->name_offset == 17 && hdr->full_value_offset == 21);
 	test_assert(hdr->name_len == 2 && strcmp(hdr->name, "h3") == 0);
 	test_assert(hdr->middle_len == 2 && memcmp(hdr->middle, ": ", 2) == 0);
-	if (!(hdr->value_len == 3 && memcmp(hdr->value, "\tv3", 3) == 0))
-		i_warning("%d '%.*s'", hdr->value_len, 3, hdr->value);
 	test_assert(hdr->value_len == 3 && memcmp(hdr->value, "\tv3", 3) == 0);
 	test_assert(hdr->continues && hdr->continued && !hdr->eoh &&
 		    !hdr->no_newline && !hdr->crlf_newline);


More information about the dovecot-cvs mailing list