From ca17d363c6ba4fcaf0bc05236cbb98a7b44ae014 Mon Sep 17 00:00:00 2001 From: Arthur David Olson Date: Thu, 25 Dec 1986 18:08:29 -0500 Subject: [PATCH] bug fix SCCS-file: scheck.c SCCS-SID: 7.14 --- scheck.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scheck.c b/scheck.c index e9c9fa7..e6f464c 100644 --- a/scheck.c +++ b/scheck.c @@ -29,8 +29,8 @@ char * format; result = ""; if (string == NULL || format == NULL) return result; - fbuf = malloc((alloc_t) (2 * strlen(format) + 4)); - if (fbuf == MAL || fbuf == NULL) + fbuf = imalloc(2 * strlen(format) + 4); + if (fbuf == NULL) return result; fp = format; tp = fbuf;