mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
You should not follow next two times.
This commit is contained in:
parent
ecc3cf6f50
commit
e5005be2b4
@ -184,11 +184,8 @@ cf_find_sym(byte *c, unsigned int h0)
|
|||||||
sym_hash = cfg_allocz(SYM_HASH_SIZE * sizeof(struct keyword *));
|
sym_hash = cfg_allocz(SYM_HASH_SIZE * sizeof(struct keyword *));
|
||||||
else
|
else
|
||||||
for(s = sym_hash[h]; s; s=s->next)
|
for(s = sym_hash[h]; s; s=s->next)
|
||||||
{
|
|
||||||
if (!strcmp(s->name, c))
|
if (!strcmp(s->name, c))
|
||||||
return s;
|
return s;
|
||||||
s = s->next;
|
|
||||||
}
|
|
||||||
l = strlen(c);
|
l = strlen(c);
|
||||||
if (l > SYM_MAX_LEN)
|
if (l > SYM_MAX_LEN)
|
||||||
cf_error("Symbol too long");
|
cf_error("Symbol too long");
|
||||||
|
Loading…
Reference in New Issue
Block a user