Skip to content

Commit

Permalink
Merge pull request #377 from Tectu/feature/fix-jtag
Browse files Browse the repository at this point in the history
Fix ambiguous function call to bind()
  • Loading branch information
Dolu1990 authored Nov 13, 2023
2 parents 79e2ae2 + ec31ed3 commit 1849aa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/cpp/common/jtag.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Jtag : public TimeProcess{
memset(serverAddr.sin_zero, '\0', sizeof serverAddr.sin_zero);

//---- Bind the address struct to the socket ----//
bind(serverSocket, (struct sockaddr *) &serverAddr, sizeof(serverAddr));
::bind(serverSocket, (struct sockaddr *) &serverAddr, sizeof(serverAddr));

//---- Listen on the socket, with 5 max connection requests queued ----//
listen(serverSocket,1);
Expand Down Expand Up @@ -174,4 +174,4 @@ class Jtag : public TimeProcess{
schedule(tooglePeriod);
}

};
};

0 comments on commit 1849aa4

Please sign in to comment.