mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-02-11 04:11:10 +01: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
@ -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…
x
Reference in New Issue
Block a user