aboutsummaryrefslogtreecommitdiff
path: root/src/dns
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2013-06-20 15:32:31 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2013-06-20 15:32:31 +0000
commit787064590f251187bfbe6e33da38c5782f80ada2 (patch)
treec7f9e9a509e3b5eadfc5347a47c36eea01d99428 /src/dns
parente5af03c2e73f6e4ee8558e29e99ff39a8d7204d2 (diff)
downloadgnunet-787064590f251187bfbe6e33da38c5782f80ada2.tar.gz
gnunet-787064590f251187bfbe6e33da38c5782f80ada2.zip
Fixed GNUNET_CLIENT_service_test on FreeBSD.
This should also fix any other platform with AF_UNIX that is not Linux or Mingw.
Diffstat (limited to 'src/dns')
-rw-r--r--src/dns/dnsstub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dns/dnsstub.c b/src/dns/dnsstub.c
index c755aff16..3b30d3e63 100644
--- a/src/dns/dnsstub.c
+++ b/src/dns/dnsstub.c
@@ -169,7 +169,8 @@ open_socket (int af)
169 sa->sa_family = af; 169 sa->sa_family = af;
170 if (GNUNET_OK != GNUNET_NETWORK_socket_bind (ret, 170 if (GNUNET_OK != GNUNET_NETWORK_socket_bind (ret,
171 sa, 171 sa,
172 alen)) 172 alen,
173 0))
173 { 174 {
174 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 175 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
175 _("Could not bind to any port: %s\n"), 176 _("Could not bind to any port: %s\n"),