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/testing | |
parent | e5af03c2e73f6e4ee8558e29e99ff39a8d7204d2 (diff) | |
download | gnunet-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/testing')
-rw-r--r-- | src/testing/testing.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c index f268c38d1..d73d5ece3 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -635,7 +635,8 @@ GNUNET_TESTING_reserve_port (struct GNUNET_TESTING_System *system, | |||
635 | continue; | 635 | continue; |
636 | bind_status = GNUNET_NETWORK_socket_bind (socket, | 636 | bind_status = GNUNET_NETWORK_socket_bind (socket, |
637 | ai->ai_addr, | 637 | ai->ai_addr, |
638 | ai->ai_addrlen); | 638 | ai->ai_addrlen, |
639 | 0); | ||
639 | GNUNET_NETWORK_socket_close (socket); | 640 | GNUNET_NETWORK_socket_close (socket); |
640 | if (GNUNET_OK != bind_status) | 641 | if (GNUNET_OK != bind_status) |
641 | break; | 642 | break; |