X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fdistsbr.c;h=21b42a5cf883c3b6e9f859ffc0e719ecba1f5879;hp=494c2986bbe621b6bfeac2d9b59324c2bac84826;hb=a87df3543d3bc128ba4079d1f95638476ba5ca50;hpb=1e99819ed105950cd584c71fa4b2e36b038be102 diff --git a/uip/distsbr.c b/uip/distsbr.c index 494c298..21b42a5 100644 --- a/uip/distsbr.c +++ b/uip/distsbr.c @@ -25,7 +25,7 @@ int distout(char *drft, char *msgnam, char *backup) { enum state state; - struct field f = {{0}}; + struct field f = free_field; unsigned char *dp; int resent = 0; FILE *ifp, *ofp; @@ -77,7 +77,7 @@ distout(char *drft, char *msgnam, char *backup) case LENERR2: case FMTERR2: - case ERR2: + case IOERR2: advise(NULL, "Please re-edit draft and fix that header."); leave_bad: ; fclose(ifp); @@ -123,7 +123,7 @@ static int ready_msg(char *msgnam) { enum state state; - struct field f = {{0}}; + struct field f = free_field; char tmpfil[BUFSIZ]; int out; FILE *ifp, *ofp; @@ -194,7 +194,7 @@ ready_msg(char *msgnam) case LENERR2: case FMTERR2: - case ERR2: + case IOERR2: advise(NULL, "format error in message %s", msgnam); return NOTOK;