diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2013-06-20 15:32:31 +0000 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2013-06-20 15:32:31 +0000 |
commit | 787064590f251187bfbe6e33da38c5782f80ada2 (patch) | |
tree | c7f9e9a509e3b5eadfc5347a47c36eea01d99428 /src/dns | |
parent | e5af03c2e73f6e4ee8558e29e99ff39a8d7204d2 (diff) |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dns/dnsstub.c b/src/dns/dnsstub.c index c755aff160..3b30d3e63a 100644 --- a/src/dns/dnsstub.c +++ b/src/dns/dnsstub.c @@ -169,7 +169,8 @@ open_socket (int af) sa->sa_family = af; if (GNUNET_OK != GNUNET_NETWORK_socket_bind (ret, sa, - alen)) + alen, + 0)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Could not bind to any port: %s\n"), |