diff options
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -205,7 +205,7 @@ connector_step (struct connector *self) connector_notify_connecting (self, target, gai_iter); - int fd = self->socket = socket (gai_iter->ai_family, + int fd = socket (gai_iter->ai_family, gai_iter->ai_socktype, gai_iter->ai_protocol); if (fd == -1) { |