]> granicus.if.org Git - neomutt/commitdiff
buflen cannot be 0 here
authorErik Hovland <erik@hovland.org>
Tue, 16 Dec 2008 20:42:22 +0000 (12:42 -0800)
committerErik Hovland <erik@hovland.org>
Tue, 16 Dec 2008 20:42:22 +0000 (12:42 -0800)
rfc822.c

index 141b3fad57e53a3bf2b3c798c79d2f87df958c81..f5d4aee9608edd8a5aaa2ee7c26fc91ead705219 100644 (file)
--- 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--;
        }