From e5005be2b415ebd9bdea28a3515961f4eb904501 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Wed, 3 Nov 1999 22:21:26 +0000 Subject: You should not follow next two times. --- conf/cf-lex.l | 3 --- 1 file changed, 3 deletions(-) (limited to 'conf') diff --git a/conf/cf-lex.l b/conf/cf-lex.l index 258ca7e..5c4589e 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -184,11 +184,8 @@ cf_find_sym(byte *c, unsigned int h0) sym_hash = cfg_allocz(SYM_HASH_SIZE * sizeof(struct keyword *)); else for(s = sym_hash[h]; s; s=s->next) - { if (!strcmp(s->name, c)) return s; - s = s->next; - } l = strlen(c); if (l > SYM_MAX_LEN) cf_error("Symbol too long"); -- cgit v1.2.3