Commit e5005be2 authored by Pavel Machek's avatar Pavel Machek
Browse files

You should not follow next two times.

parent ecc3cf6f
......@@ -184,11 +184,8 @@ cf_find_sym(byte *c, unsigned int h0)
sym_hash = cfg_allocz(SYM_HASH_SIZE * sizeof(struct keyword *));
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");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment