From 450d4eadef7c7b1454745ce3d0460f74b80835e8 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Tue, 2 Jun 2009 17:05:15 +0200 Subject: [PATCH] Fix array size --- smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smtp.c b/smtp.c index 30221745f..3c9df528d 100644 --- 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; -- 2.40.0