Skip to content

Commit

Permalink
Change
Browse files Browse the repository at this point in the history
  • Loading branch information
madhurajayaraman committed Oct 16, 2024
1 parent 7d78cd7 commit 14345da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion starboard/shared/starboard/link_receiver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ bool GetBoundPort(int socket, int* out_port) {
socklen_t socklen = static_cast<socklen_t>(sizeof(socket_address));
int local_address = getsockname(
socket, reinterpret_cast<sockaddr*>(&socket_address), &socklen);

SB_DLOG(INFO) << "Got bound port";
if (local_address != 0) {
SB_DLOG(INFO) << "Bound port failed errno: " << errno;
return false;
}

Expand Down

0 comments on commit 14345da

Please sign in to comment.