]> granicus.if.org Git - neomutt/commitdiff
Fix array size
authorRocco Rutte <pdmef@gmx.net>
Tue, 2 Jun 2009 15:05:15 +0000 (17:05 +0200)
committerRocco Rutte <pdmef@gmx.net>
Tue, 2 Jun 2009 15:05:15 +0000 (17:05 +0200)
smtp.c

diff --git a/smtp.c b/smtp.c
index 30221745f4511a72e766346abc6aedb280599776..3c9df528d28450937d863bb874ec187a353ed397 100644 (file)
--- a/smtp.c
+++ b/smtp.c
@@ -79,7 +79,7 @@ static unsigned char Capabilities[(CAPMAX + 7)/ 8];
 
 static int smtp_code (char *buf, size_t len, int *n)
 {
-  char code[3];
+  char code[4];
 
   if (len < 4)
     return -1;