]> diplodocus.org Git - nmh/commitdiff
Create a default CTE so routines in mhparse.c are happy.
authorKen Hornstein <kenh@pobox.com>
Mon, 14 Apr 2014 02:36:34 +0000 (22:36 -0400)
committerKen Hornstein <kenh@pobox.com>
Mon, 14 Apr 2014 02:39:07 +0000 (22:39 -0400)
uip/mhbuildsbr.c

index 910d3b2..42526cf 100644 (file)
@@ -474,6 +474,7 @@ init_decoded_content (CT ct, const char *filename)
     ct->c_ceopenfnx  = open7Bit;       /* since unencoded */
     ct->c_ceclosefnx = close_encoding;
     ct->c_cesizefnx  = NULL;           /* since unencoded */
     ct->c_ceopenfnx  = open7Bit;       /* since unencoded */
     ct->c_ceclosefnx = close_encoding;
     ct->c_cesizefnx  = NULL;           /* since unencoded */
+    ct->c_encoding = CE_7BIT;          /* Seems like a reasonable default */
     ct->c_file = add(filename, NULL);
 
     return OK;
     ct->c_file = add(filename, NULL);
 
     return OK;