From: Sebastian Hammer Date: Tue, 14 May 1996 12:10:16 +0000 (+0000) Subject: Bad areadef scan X-Git-Tag: ZEBRA.1.0~458 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=3fb2ce9f740725e9e36d35f9dcb15b52edbe475f;hp=4cff781d858d8eafd2d10e7877a47a2ee4949be7;p=idzebra-moved-to-github.git Bad areadef scan --- diff --git a/bfile/mfile.c b/bfile/mfile.c index 44364bc..dfd60d2 100644 --- a/bfile/mfile.c +++ b/bfile/mfile.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: mfile.c,v $ - * Revision 1.19 1996-05-01 07:16:30 quinn + * Revision 1.20 1996-05-14 12:10:16 quinn + * Bad areadef scan + * + * Revision 1.19 1996/05/01 07:16:30 quinn * Fixed ancient bug. * * Revision 1.18 1996/04/09 06:47:30 adam @@ -134,7 +137,7 @@ static int scan_areadef(MFile_area ma, const char *name) else if (*ad == '+') ad++; size = 0; - if (*ad <= '0' || *ad >= '9') + if (*ad < '0' || *ad > '9') { logf (LOG_FATAL, "Missing size after path: %s", ad0); return -1;