From e03d11afa2566dab6afda3fa889ed86347970b53 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 11 Mar 1987 11:13:55 +0000 Subject: [PATCH] Bug fix. --- util/cmisc/cclash.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/util/cmisc/cclash.c b/util/cmisc/cclash.c index 77a0cdf4a..01703b670 100644 --- a/util/cmisc/cclash.c +++ b/util/cmisc/cclash.c @@ -37,7 +37,7 @@ struct idf { struct idf *id_next; char *id_name; struct idf *id_same; - char *id_key; + char id_key; }; #define ACT_LISTONLY 0 @@ -164,8 +164,7 @@ InsertId(id, key) idp->id_same = p; } - if (key) - p->id_key = id; + p->id_key = key; } char * @@ -205,7 +204,7 @@ EnHash(id) return hash_val % (unsigned) HASHSIZE; } -BeginOfProgram() { } +BeginOfProgram() { DefineKeys(); } EndOfProgram() {