]> diplodocus.org Git - nmh/commitdiff
Sigh. Of course I find another bug after I release RC2. Make sure to
authorKen Hornstein <kenh@pobox.com>
Sun, 20 Apr 2014 04:02:26 +0000 (00:02 -0400)
committerKen Hornstein <kenh@pobox.com>
Sun, 20 Apr 2014 04:02:26 +0000 (00:02 -0400)
initialize the enclosing CT structure when creating a message/external-body
part.

uip/mhbuildsbr.c

index cf7c53a..a973fd9 100644 (file)
@@ -778,6 +778,7 @@ use_forw:
             */
            if ((ct = (CT) calloc (1, sizeof(*ct))) == NULL)
                adios (NULL, "out of memory");
+           init_decoded_content(ct, infilename);
            *ctp = ct;
            ci = &ct->c_ctinfo;
            if (get_ctinfo (buffer, ct, 0) == NOTOK)