diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-09 18:01:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-09 18:01:16 +0000 |
commit | 25e37143ca6ddc3ea7d3c2e3fd7c66002a45e060 (patch) | |
tree | 8796fd0e148c6914897d6c53d25c6327b5a8263b /src/testing/testing.c | |
parent | 0904af031c4f1411419b3047f893e0672957d146 (diff) | |
download | gnunet-25e37143ca6ddc3ea7d3c2e3fd7c66002a45e060.tar.gz gnunet-25e37143ca6ddc3ea7d3c2e3fd7c66002a45e060.zip |
-switching (again) to named sockets, see #2887
Diffstat (limited to 'src/testing/testing.c')
-rw-r--r-- | src/testing/testing.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c index a0d8e261b..4e60ae0f7 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -627,8 +627,7 @@ GNUNET_TESTING_reserve_port (struct GNUNET_TESTING_System *system) | |||
627 | continue; | 627 | continue; |
628 | bind_status = GNUNET_NETWORK_socket_bind (socket, | 628 | bind_status = GNUNET_NETWORK_socket_bind (socket, |
629 | ai->ai_addr, | 629 | ai->ai_addr, |
630 | ai->ai_addrlen, | 630 | ai->ai_addrlen); |
631 | 0); | ||
632 | GNUNET_NETWORK_socket_close (socket); | 631 | GNUNET_NETWORK_socket_close (socket); |
633 | if (GNUNET_OK != bind_status) | 632 | if (GNUNET_OK != bind_status) |
634 | break; | 633 | break; |
@@ -637,8 +636,7 @@ GNUNET_TESTING_reserve_port (struct GNUNET_TESTING_System *system) | |||
637 | continue; | 636 | continue; |
638 | bind_status = GNUNET_NETWORK_socket_bind (socket, | 637 | bind_status = GNUNET_NETWORK_socket_bind (socket, |
639 | ai->ai_addr, | 638 | ai->ai_addr, |
640 | ai->ai_addrlen, | 639 | ai->ai_addrlen); |
641 | 0); | ||
642 | GNUNET_NETWORK_socket_close (socket); | 640 | GNUNET_NETWORK_socket_close (socket); |
643 | if (GNUNET_OK != bind_status) | 641 | if (GNUNET_OK != bind_status) |
644 | break; | 642 | break; |