From: Erik Hovland Date: Tue, 16 Dec 2008 20:42:22 +0000 (-0800) Subject: buflen cannot be 0 here X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=799bc653ae121179447eab4df9cbb0019d76b14f;p=neomutt buflen cannot be 0 here --- diff --git a/rfc822.c b/rfc822.c index 141b3fad5..f5d4aee96 100644 --- a/rfc822.c +++ b/rfc822.c @@ -594,8 +594,6 @@ void rfc822_write_address_single (char *buf, size_t buflen, ADDRESS *addr, { if (*pc == '"' || *pc == '\\') { - if (!buflen) - goto done; *pbuf++ = '\\'; buflen--; }