mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 10:13:51 +01:00
fix(tests): CodeQL warnings
This commit is contained in:
parent
c95ac60a6e
commit
a106ebd1f1
@ -113,7 +113,7 @@ void SecureStreamSocketTest::testSendReceive()
|
||||
{
|
||||
received.append(buffer, rc);
|
||||
}
|
||||
else if (n == 0)
|
||||
else if (rc == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
@ -188,7 +188,7 @@ void SecureStreamSocketTest::testNB()
|
||||
{
|
||||
received.append(buffer, rc);
|
||||
}
|
||||
else if (n == 0)
|
||||
else if (rc == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ void SecureStreamSocketTest::testSendReceive()
|
||||
{
|
||||
received.append(buffer, rc);
|
||||
}
|
||||
else if (n == 0)
|
||||
else if (rc == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
@ -188,7 +188,7 @@ void SecureStreamSocketTest::testNB()
|
||||
{
|
||||
received.append(buffer, rc);
|
||||
}
|
||||
else if (n == 0)
|
||||
else if (rc == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user