]> diplodocus.org Git - nmh/commitdiff
Removed unused hf_encoding from struct hfield.
authorDavid Levine <levinedl@acm.org>
Sat, 3 Feb 2018 13:03:24 +0000 (08:03 -0500)
committerDavid Levine <levinedl@acm.org>
Sat, 3 Feb 2018 13:03:24 +0000 (08:03 -0500)
I could not find any evidence of it ever being used.

h/mhparse.h
uip/mhfixmsg.c

index 3b4021f..96a37b0 100644 (file)
@@ -34,7 +34,6 @@ typedef unsigned long (*SizeCEFunc) (CT);
 struct hfield {
     char *name;                /* field name */
     char *value;       /* field body */
-    int hf_encoding;   /* internal flag for transfer encoding to use */
     HF next;           /* link to next header field */
 };
 
index df03065..d81ab70 100644 (file)
@@ -1184,7 +1184,6 @@ fix_composite_cte (CT ct, int *message_mods)
 
                     NEW(h);
                     h->name = mh_xstrdup (hf->name);
-                    h->hf_encoding = hf->hf_encoding;
                     h->next = hf->next;
                     hf->next = h;