add free_field as standard for struct field
[mmh] / uip / mhparse.c
index 1cbefed..04333f4 100644 (file)
@@ -232,7 +232,7 @@ static CT
 get_content(FILE *in, char *file, int toplevel)
 {
        enum state state;
-       struct field f = {{0}};
+       struct field f = free_field;
        int compnum;
        CT ct;
        HF hp;
@@ -269,7 +269,7 @@ get_content(FILE *in, char *file, int toplevel)
 
                case LENERR2:
                case FMTERR2:
-               case ERR2:
+               case IOERR2:
                        adios(EX_DATAERR, NULL, "message format error in component #%d",
                                        compnum);