mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-04 16:46:45 -04:00
BUG/MINOR: cfgparse/server: increment the extra keyword counter one at a time
This was introduced in previous commit 49c2b45c1 ("MINOR: cfgparse/server:
try to fix spelling mistakes on server lines"), the loop was changed but
the increment left. No backport is needed.
This commit is contained in:
parent
db67b0ed79
commit
736adef511
1 changed files with 0 additions and 1 deletions
|
|
@ -335,7 +335,6 @@ static const char *srv_find_best_kw(const char *word)
|
|||
best_dist = dist;
|
||||
best_ptr = *extra;
|
||||
}
|
||||
extra++;
|
||||
}
|
||||
|
||||
if (best_dist > 2 * strlen(word) || (best_ptr && best_dist > 2 * strlen(best_ptr)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue