From: Olivier Houchard Date: Mon, 14 Aug 2017 13:59:44 +0000 (+0200) Subject: CLEANUP: raw_sock: Use a better name for the constructor than __ssl_sock_deinit() X-Git-Tag: v1.8-dev3~185 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d00593361b91017b894c4c7d5e24721a7838d6e;p=thirdparty%2Fhaproxy.git CLEANUP: raw_sock: Use a better name for the constructor than __ssl_sock_deinit() I just noticed the raw socket constructor was called __ssl_sock_deinit, which is a bit confusing, and wrong twice, so the attached patch renames it to __raw_sock_init, which seems more correct. --- diff --git a/src/raw_sock.c b/src/raw_sock.c index 8aba58d7bb..707ba55f36 100644 --- a/src/raw_sock.c +++ b/src/raw_sock.c @@ -429,7 +429,7 @@ static struct xprt_ops raw_sock = { __attribute__((constructor)) -static void __ssl_sock_deinit(void) +static void __raw_sock_init(void) { xprt_register(XPRT_RAW, &raw_sock); }