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:
Willy Tarreau 2021-03-12 14:47:10 +01:00
parent db67b0ed79
commit 736adef511

View File

@ -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)))