projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add free_field as standard for struct field
[mmh]
/
uip
/
mhparse.c
diff --git
a/uip/mhparse.c
b/uip/mhparse.c
index
1cbefed
..
04333f4
100644
(file)
--- a/
uip/mhparse.c
+++ b/
uip/mhparse.c
@@
-232,7
+232,7
@@
static CT
get_content(FILE *in, char *file, int toplevel)
{
enum state state;
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;
int compnum;
CT ct;
HF hp;
@@
-269,7
+269,7
@@
get_content(FILE *in, char *file, int toplevel)
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);