X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fspost.c;h=39d8ada53dfb99f8b35888ac62d290e53d7ed978;hp=4e9e7cec04121c5bebd37fabdaef957ebb50eac4;hb=6e9577f324bef90765a5edc02044eb111ec48072;hpb=2a903a43ad7d26f5581d4ad1bbc077f8ecc5f5a9 diff --git a/uip/spost.c b/uip/spost.c index 4e9e7ce..39d8ada 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -39,6 +39,7 @@ static struct swit switches[] = { { NULL, 0 } }; +char *version=VERSION; /* flags for headers->flags */ #define HNOP 0x0000 /* just used to keep .set around */ @@ -268,7 +269,7 @@ main(int argc, char **argv) } fclose(in); - if (status != FILEEOF2) { + if (state != FILEEOF2) { adios(EX_IOERR, "m_getfld2", "Error while reading body"); }