diff options
author | Matt Schatz <genius3000@g3k.solutions> | 2019-06-05 02:01:33 -0600 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-06-05 09:01:33 +0100 |
commit | b8c5df6d1a574ee22d9e1a47e1cd8626cb7a1395 (patch) | |
tree | d855f514aa13498687b2703ec5d728938842eb91 /src | |
parent | 3b67b43f6a4ffbcc2dbc5bbed8abd537b92e9422 (diff) |
Fix a compiler warning introduced in d107093. (#1653)
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_haproxy.cpp | 2 |
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); } |