summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2019-06-05 02:01:33 -0600
committerPeter Powell <petpow@saberuk.com>2019-06-05 09:01:33 +0100
commitb8c5df6d1a574ee22d9e1a47e1cd8626cb7a1395 (patch)
treed855f514aa13498687b2703ec5d728938842eb91
parent3b67b43f6a4ffbcc2dbc5bbed8abd537b92e9422 (diff)
Fix a compiler warning introduced in d107093. (#1653)
-rw-r--r--src/modules/m_haproxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_haproxy.cpp b/src/modules/m_haproxy.cpp
index 57cb860c8..4d0e52514 100644
--- a/src/modules/m_haproxy.cpp
+++ b/src/modules/m_haproxy.cpp
@@ -365,9 +365,9 @@ class HAProxyHook : public IOHookMiddle
public:
HAProxyHook(IOHookProvider* Prov, StreamSocket* sock, UserCertificateAPI& api)
: IOHookMiddle(Prov)
+ , address_length(0)
, sslapi(api)
, state(HPS_WAITING_FOR_HEADER)
- , address_length(0)
{
sock->AddIOHook(this);
}