From 34a7c5a388523a65f55d6d50213bd4b735cfb25b Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Tue, 2 Jan 2007 07:45:52 +0100 Subject: [PATCH] stupid off by one: skip the last ')' in a comment ! Signed-off-by: Pierre Habouzit --- lib-mime/rfc822address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-mime/rfc822address.c b/lib-mime/rfc822address.c index 6277ee9..c6b12ab 100644 --- a/lib-mime/rfc822address.c +++ b/lib-mime/rfc822address.c @@ -145,7 +145,7 @@ static const char *parse_comment(const char *s, static_buf *buf) case ')': level--; if (!level) - return s; + return s + 1; break; case '\\': -- 2.20.1