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
/
sortm.c
diff --git
a/uip/sortm.c
b/uip/sortm.c
index
43dc7dc
..
6d45d35
100644
(file)
--- a/
uip/sortm.c
+++ b/
uip/sortm.c
@@
-321,7
+321,7
@@
static int
get_fields(char *datesw, int msg, struct smsg *smsg)
{
enum state state;
get_fields(char *datesw, int msg, struct smsg *smsg)
{
enum state state;
- struct field f = {{0}};
+ struct field f = free_field;
int compnum;
char *msgnam;
struct tws *tw;
int compnum;
char *msgnam;
struct tws *tw;
@@
-355,7
+355,7
@@
get_fields(char *datesw, int msg, struct smsg *smsg)
case LENERR2:
case FMTERR2:
case LENERR2:
case FMTERR2:
- case ERR2:
+ case IOERR2:
admonish(NULL, "format error in message %d (header #%d)", msg, compnum);
if (datecomp) {
free(datecomp);
admonish(NULL, "format error in message %d (header #%d)", msg, compnum);
if (datecomp) {
free(datecomp);