Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit d411af2

Browse files
committed
Address -Wnull-conversion warnings.
1 parent 803e833 commit d411af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test-apps/TestInetEndPoint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ static void TestInetEndPoint(nlTestSuite *inSuite, void *inContext)
375375
err = testTCPEP1->GetPeerInfo(NULL, NULL);
376376
NL_TEST_ASSERT(inSuite, err == INET_ERROR_INCORRECT_STATE);
377377
buf = PacketBuffer::New();
378-
err = testTCPEP1->Send(buf, NULL);
378+
err = testTCPEP1->Send(buf, false);
379379
NL_TEST_ASSERT(inSuite, err == INET_ERROR_INCORRECT_STATE);
380380
err = testTCPEP1->EnableKeepAlive(10, 100);
381381
NL_TEST_ASSERT(inSuite, err == INET_ERROR_INCORRECT_STATE);

0 commit comments

Comments
 (0)