summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-11-03 23:21:26 +0100
committerPavel Machek <pavel@ucw.cz>1999-11-03 23:21:26 +0100
commite5005be2b415ebd9bdea28a3515961f4eb904501 (patch)
treef37745e01b6fa8c577cfe509d4be03ad197dbd06 /conf
parentecc3cf6f50768284b9660b5717190107e742404f (diff)
downloadbird-e5005be2b415ebd9bdea28a3515961f4eb904501.tar
bird-e5005be2b415ebd9bdea28a3515961f4eb904501.zip
You should not follow next two times.
Diffstat (limited to 'conf')
-rw-r--r--conf/cf-lex.l3
1 files changed, 0 insertions, 3 deletions
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");