aboutsummaryrefslogtreecommitdiff
path: root/modules/haproxy.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-10-26 16:46:19 +0000
committerGravatar Sadie Powell2025-10-26 16:46:19 +0000
commit9beffb09a77202cc344f7037097b3ce7b8fadb62 (patch)
treec77bd1a4141a52066c3f0f964ed470621041bd64 /modules/haproxy.cpp
parentMerge branch 'insp4' into master. (diff)
Start splitting the user I/O interface from the network socket.
Diffstat (limited to 'modules/haproxy.cpp')
-rw-r--r--modules/haproxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/haproxy.cpp b/modules/haproxy.cpp
index 101204328..2c16094d3 100644
--- a/modules/haproxy.cpp
+++ b/modules/haproxy.cpp
@@ -218,7 +218,7 @@ private:
cert->unknownsigner = true;
// Extract the user for this socket and set their certificate.
- LocalUser* luser = static_cast<UserIOHandler*>(sock)->user;
+ auto* luser = reinterpret_cast<LocalUserIO*>(sock)->user;
sslapi->SetCertificate(luser, cert);
return true;
}