]> diplodocus.org Git - nmh/commitdiff
Increased size of file command buffer in make_mime_composition_file_entry()
authorDavid Levine <levinedl@acm.org>
Sun, 22 Dec 2013 15:01:41 +0000 (09:01 -0600)
committerDavid Levine <levinedl@acm.org>
Sun, 22 Dec 2013 15:01:41 +0000 (09:01 -0600)
because it was a bit too small.

uip/sendsbr.c

index 73f15b8..ecaf392 100644 (file)
@@ -418,7 +418,7 @@ make_mime_composition_file_entry(char *file_name, int attachformat,
 {
     int                        binary;                 /* binary character found flag */
     int                        c;                      /* current character */
-    char               cmd[PATH_MAX + 6];      /* file command buffer */
+    char               cmd[PATH_MAX + 8];      /* file command buffer */
     char               *content_type;          /* mime content type */
     FILE               *fp;                    /* content and pipe file pointer */
     struct     node    *np;                    /* context scan node pointer */