]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: server: use server_find_by_id() when looking for already used IDs
authorWilly Tarreau <w@1wt.eu>
Sat, 23 Aug 2025 17:26:54 +0000 (19:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2025 07:23:46 +0000 (09:23 +0200)
commit4ed4cdbf3d08cec3725d7d1d96a2b235ab10d00d
tree6ca710248873e5319411d18470134f459dd41158
parent0b0aefe19b01116653c55f5f31ab1b2d9dcc54fd
CLEANUP: server: use server_find_by_id() when looking for already used IDs

In srv_parse_id(), there's no point doing all the low-level work with
the tree functions to check for the existence of an ID, we already have
server_find_by_id() which does exactly this, so let's use it.
src/server.c