]> diplodocus.org Git - nmh/blobdiff - uip/mhbuildsbr.c
Use Nmh-Attach for attach header field name, and accept Attach.
[nmh] / uip / mhbuildsbr.c
index 2a2303855116cd385828ab57e7b73512e5a6fed5..e046886f3e5a9e333016a8f75959e6fcb66366db 100644 (file)
@@ -205,7 +205,8 @@ build_mime (char *infile, int autobuild, int dist, int directives,
             * header; in that case, add it to our attach list
             */
 
             * header; in that case, add it to our attach list
             */
 
-           if (strcasecmp(ATTACH_FIELD, np) == 0) {
+           if (strcasecmp(ATTACH_FIELD, np) == 0  ||
+               strcasecmp(ATTACH_FIELD_ALT, np) == 0) {
                struct attach_list *entry;
                char *s = vp, *e = vp + strlen(vp) - 1;
                free(np);
                struct attach_list *entry;
                char *s = vp, *e = vp + strlen(vp) - 1;
                free(np);