diff options
Diffstat (limited to 'src/client.c')
-rw-r--r-- | src/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c index 0391784..972ebbd 100644 --- a/src/client.c +++ b/src/client.c @@ -6,7 +6,7 @@ int client_create(struct client *client, const struct settings *settings) { - client->fd = connect_to_host(settings->host, settings->port); + client->fd = net_connect(settings->host, settings->port); if (client->fd < 0) return client->fd; |