mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-10-30 02:02:30 +00:00
fix UB/bad cast in TCPServerTest.cpp
This commit is contained in:
@@ -82,7 +82,7 @@ namespace
|
||||
|
||||
void run()
|
||||
{
|
||||
SecureStreamSocket& ss = static_cast<SecureStreamSocket&>(socket());
|
||||
SecureStreamSocket ss = socket();
|
||||
try
|
||||
{
|
||||
ss.completeHandshake();
|
||||
|
||||
Reference in New Issue
Block a user