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 2b19fdf commit 7d78cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starboard/shared/starboard/link_receiver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class LinkReceiver::Impl {
private:
// Encapsulates connection state.
struct Connection {
explicit Connection(int socket_fd) {}
explicit Connection(int socket) { socket_fd = socket; }
~Connection() {}
void FlushLink(Application* application) {
if (!data.empty()) {
Expand All @@ -213,7 +213,7 @@ class LinkReceiver::Impl {

// Adds the |connection| to the SbSocketWaiter to wait until ready to read
// more data.
bool AddForRead(Connection* socket);
bool AddForRead(Connection* connection);

// Called when the listening socket has a connection available to accept.
void OnAcceptReady();
Expand Down

0 comments on commit 7d78cd7

Please sign in to comment.