Skip to content

Commit

Permalink
Oops, fix leftover usage close() -> udpCloseSocket().
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-heasly committed Apr 19, 2024
1 parent 1fe8707 commit 541df8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/UDPEventsPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void UDPEventsPlugin::run()
int bindResult = udpBind(serverSocket, &addressToBind);
if (bindResult < 0)
{
close(serverSocket);
udpCloseSocket(serverSocket);
LOGE("UDP Events Thread could not bind socket to address: ", hostToBind, " port: ", portToBind, " error: ", udpErrorMessage());
return;
}
Expand Down

0 comments on commit 541df8a

Please sign in to comment.