Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
letFunny committed Apr 24, 2024
1 parent bace859 commit 05398d5
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/integration/test_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,6 @@ struct fixture {
int socket_fd[2];
};

int connect_to_mock_server(void *arg, const char *addr, int *fd)
{
struct fixture *f = (struct fixture *)arg;
(void)addr;

*fd = dup(f->socket_fd[1]);
if (*fd == -1) {
return 1;
}
tracef("CONNECT TO FAKE SERVER");

return 0;
}

static void start_each_server(struct fixture *f)
{
const char *addrs[] = { "127.0.0.1:8880", "127.0.0.1:8881" };
Expand Down

0 comments on commit 05398d5

Please sign in to comment.