]> diplodocus.org Git - nmh/commitdiff
Fix handling of -headerencoding switch.
authorKen Hornstein <kenh@pobox.com>
Fri, 8 Nov 2013 03:43:50 +0000 (22:43 -0500)
committerKen Hornstein <kenh@pobox.com>
Fri, 8 Nov 2013 03:43:50 +0000 (22:43 -0500)
uip/mhbuild.c

index 1a3ce1dfbfcb694b26b640123bddc1bb7f688df6..ef4598581702e8c0773a33b66fca14b2871319cd 100644 (file)
@@ -37,7 +37,7 @@
     X("wcache policy", 0, WCACHESW) \
     X("contentid", 0, CONTENTIDSW) \
     X("nocontentid", 0, NCONTENTIDSW) \
-    X("headerencoding", 0, HEADERENCSW) \
+    X("headerencoding encoding-algorithm", 0, HEADERENCSW) \
     X("autoheaderencoding", 0, AUTOHEADERENCSW) \
     X("version", 0, VERSIONSW) \
     X("help", 0, HELPSW) \
@@ -238,6 +238,7 @@ main (int argc, char **argv)
                default:
                    adios (NULL, "Internal error: algorithm %s", cp);
                }
+               continue;
            }
 
            case AUTOHEADERENCSW: