]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sock: rename sock to sock_fd in sock_create_server_socket
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Tue, 23 Apr 2024 20:46:55 +0000 (22:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 30 Apr 2024 19:38:12 +0000 (21:38 +0200)
commita0b5324cff06fd0574ffd1bfe36386be302e7a3d
treeb9d1453d2901f323f881e4c85c63ecfac58d50f4
parent072686dafd56c280347c344dcdd0fa76857599ae
MINOR: sock: rename sock to sock_fd in sock_create_server_socket

Renaming sock to sock_fd makes it more clear, that sock_create_server_socket
returns the fd of newly created server socket and then we check this fd.
As we heavily use "fd" variable name in all protocol implementations, let's
prefix this one with the name of its object file: sock.o.
src/sock.c