diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-25 15:34:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-25 15:34:47 +0000 |
commit | eda18e9c9e0c3965490a23cd5121861f672a38ba (patch) | |
tree | 389f2484dedfd59871ebffb6cfc6f4c4397e0113 /src/util/service.c | |
parent | f2db1f788ad4cd63e0200612c8a785b9303e127c (diff) | |
download | gnunet-eda18e9c9e0c3965490a23cd5121861f672a38ba.tar.gz gnunet-eda18e9c9e0c3965490a23cd5121861f672a38ba.zip |
-fixes
Diffstat (limited to 'src/util/service.c')
-rw-r--r-- | src/util/service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/service.c b/src/util/service.c index ef060daaa..92c125df1 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -1022,6 +1022,7 @@ GNUNET_SERVICE_get_server_addresses (const char *service_name, | |||
1022 | memset (&hints, 0, sizeof (struct addrinfo)); | 1022 | memset (&hints, 0, sizeof (struct addrinfo)); |
1023 | if (disablev6) | 1023 | if (disablev6) |
1024 | hints.ai_family = AF_INET; | 1024 | hints.ai_family = AF_INET; |
1025 | hints.ai_protocol = IPPROTO_TCP; | ||
1025 | if ((0 != (ret = getaddrinfo (hostname, NULL, &hints, &res))) || | 1026 | if ((0 != (ret = getaddrinfo (hostname, NULL, &hints, &res))) || |
1026 | (res == NULL)) | 1027 | (res == NULL)) |
1027 | { | 1028 | { |