CLEANUP: server: rename findserver() to server_find_by_name()

Now it's more logical and matches what is done in the rest of these
functions. server_find() now relies on it.
This commit is contained in:
Willy Tarreau
2025-07-10 11:07:51 +02:00
parent 6ad9285796
commit 61acd15ea8
7 changed files with 8 additions and 8 deletions

View File

@@ -1440,7 +1440,7 @@ __LJMP int hlua_lua2arg_check(lua_State *L, int first, struct arg *argp,
sname = argp[idx].data.str.area;
px = p;
}
argp[idx].data.srv = findserver(px, sname);
argp[idx].data.srv = server_find_by_name(px, sname);
if (!argp[idx].data.srv) {
msg = "server doesn't exist";
goto error;