add free_field as standard for struct field
[mmh] / uip / spost.c
index 6282e75..b8ae562 100644 (file)
@@ -144,7 +144,7 @@ int
 main(int argc, char **argv)
 {
        enum state state;
 main(int argc, char **argv)
 {
        enum state state;
-       struct field f = {{0}};
+       struct field f = free_field;
        int compnum;
        char *cp, *msg = NULL, **argp, **arguments;
        char **sargv, buf[BUFSIZ];
        int compnum;
        char *cp, *msg = NULL, **argp, **arguments;
        char **sargv, buf[BUFSIZ];
@@ -253,7 +253,7 @@ main(int argc, char **argv)
 
                case LENERR2:
                case FMTERR2:
 
                case LENERR2:
                case FMTERR2:
-               case ERR2:
+               case IOERR2:
                        adios(EX_DATAERR, NULL, "message format error in component #%d",
                                        compnum);
 
                        adios(EX_DATAERR, NULL, "message format error in component #%d",
                                        compnum);