X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fseq_read.c;h=ff01c427a94f3cd4a5e41a39e1ab26e6a69f53ca;hp=5707dae9643634f452dbeb4832814c933789e20b;hb=bdd879c997e50e6b6e14dffb746d9fe9b6a1cf6c;hpb=d3ba09a465cb0e5fc9a74d0b152a7ed965f895cb diff --git a/sbr/seq_read.c b/sbr/seq_read.c index 5707dae..ff01c42 100644 --- a/sbr/seq_read.c +++ b/sbr/seq_read.c @@ -7,6 +7,7 @@ ** complete copyright information. */ +#include #include #include @@ -97,7 +98,7 @@ seq_public(struct msgs *mp) case BODY: case BODYEOF: - adios(NULL, "no blank lines are permitted in %s", + adios(EX_CONFIG, NULL, "no blank lines are permitted in %s", seqfile); /* fall */ @@ -105,7 +106,7 @@ seq_public(struct msgs *mp) break; default: - adios(NULL, "%s is poorly formatted", seqfile); + adios(EX_CONFIG, NULL, "%s is poorly formatted", seqfile); } break; /* break from for loop */ } @@ -158,7 +159,8 @@ seq_private(struct msgs *mp) static int seq_init(struct msgs *mp, char *name, char *field) { - int i, j, k, is_current; + unsigned int i; + int j, k, is_current; char *cp, **ap; /*