]> diplodocus.org Git - nmh/blobdiff - mts/smtp/smtp.c
dtimezone(): Explain abs(3) is undefined on INT_MIN.
[nmh] / mts / smtp / smtp.c
index 0ef19b01cd305502eb83054e146caaa4574d9b5e..7808e1a70871454de78e9e306e4ad147f7383bdd 100644 (file)
@@ -870,7 +870,8 @@ char *
 rp_string (int code)
 {
     char *text;
-    static char buffer[BUFSIZ];
+    /* The additional space is to avoid warning from gcc -Wformat-truncation. */
+    static char buffer[BUFSIZ + 19];
 
     switch (sm_reply.code != NOTOK ? code : NOTOK) {
        case RP_AOK: