diff --git a/src/client.c b/src/client.c

index 4ec75ba1f132e2b80e0267e0e195bd10a215b918..59fa1381ab66496900acb4321f22c6ec3675db5e 100644

--- a/src/client.c

+++ b/src/client.c

@@ -31,8 +31,8 @@ if (options && options->hints) {

hints = *options->hints;

} else {

hints.ai_family = AF_UNSPEC;

- hints.ai_socktype = SOCK_STREAM;

}

+ hints.ai_socktype = SOCK_STREAM;

char pbuf[7];

snprintf(pbuf, sizeof(pbuf), "%d", port);