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