diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-08-21 04:25:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-08-21 04:25:03 +0000 |
commit | e50d52367cf8c9ecc4e92587b3f1c69eb3ccc99e (patch) | |
tree | 0598c25d22b21add80a2007d0378067dcbc9ee32 /usr.bin/file/apprentice.c | |
parent | df9e58dc6244945b4fb590e7dcc7d03d0c075067 (diff) |
oops
Diffstat (limited to 'usr.bin/file/apprentice.c')
-rw-r--r-- | usr.bin/file/apprentice.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/file/apprentice.c b/usr.bin/file/apprentice.c index af1a424e063..4906115defb 100644 --- a/usr.bin/file/apprentice.c +++ b/usr.bin/file/apprentice.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apprentice.c,v 1.6 1998/08/19 17:20:01 deraadt Exp $ */ +/* $OpenBSD: apprentice.c,v 1.7 1998/08/21 04:25:02 deraadt Exp $ */ /* * apprentice - make one pass through /etc/magic, learning its secrets. @@ -36,7 +36,7 @@ #include "file.h" #ifndef lint -static char *moduleid = "$OpenBSD: apprentice.c,v 1.6 1998/08/19 17:20:01 deraadt Exp $"; +static char *moduleid = "$OpenBSD: apprentice.c,v 1.7 1998/08/21 04:25:02 deraadt Exp $"; #endif /* lint */ #define EATAB {while (isascii((unsigned char) *l) && \ @@ -193,11 +193,11 @@ int *ndx, check; if (check) { if (magic) free(magic); - magic = mtmp; return -1; } else exit(1); } + magic = mtmp; memset(&magic[*ndx], 0, sizeof(struct magic) * ALLOC_INCR); } m = &magic[*ndx]; |