From: Pierre Habouzit Date: Tue, 2 Jan 2007 06:45:52 +0000 (+0100) Subject: stupid off by one: skip the last ')' in a comment ! X-Git-Url: http://git.madism.org/?a=commitdiff_plain;ds=inline;h=34a7c5a388523a65f55d6d50213bd4b735cfb25b;p=apps%2Fmadmutt.git stupid off by one: skip the last ')' in a comment ! Signed-off-by: Pierre Habouzit --- 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 '\\':