]> git.marmaro.de Git - mmh/blobdiff - uip/slocal.c
add free_field as standard for struct field
[mmh] / uip / slocal.c
index 5760a83db3d78bc6228af2d12c57a0fdc471f196..3b5007db1db4cc08754406109f2c18a39dfcd3e4 100644 (file)
@@ -725,7 +725,7 @@ static int
 parse(int fd)
 {
        enum state state;
-       struct field f = {{0}};
+       struct field f = free_field;
        int i, fd1;
        char *cp, *dp, *lp;
        struct pair *p, *q;
@@ -795,7 +795,7 @@ parse(int fd)
 
                case LENERR2:
                case FMTERR2:
-               case ERR2:
+               case IOERR2:
                        advise(NULL, "format error in message");
                        break;