diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-11-01 11:55:39 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-11-01 11:55:39 +0000 |
commit | 59da714e85743fcc71aa060dd03ab16273d34b28 (patch) | |
tree | dbcf09adeecde9354e9565452382dcc059e7540e /src | |
parent | c28bd04f017edfcae59f8d18698090c9e60e3699 (diff) | |
download | gnunet-59da714e85743fcc71aa060dd03ab16273d34b28.tar.gz gnunet-59da714e85743fcc71aa060dd03ab16273d34b28.zip |
fixing testing failures on pi
Diffstat (limited to 'src')
-rw-r--r-- | src/testing/testing.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c index 21390635e..049074cd5 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -417,7 +417,11 @@ GNUNET_TESTING_reserve_port (struct GNUNET_TESTING_System *system, | |||
417 | (GNUNET_YES == is_tcp) ? | 417 | (GNUNET_YES == is_tcp) ? |
418 | SOCK_STREAM : SOCK_DGRAM, | 418 | SOCK_STREAM : SOCK_DGRAM, |
419 | 0); | 419 | 0); |
420 | GNUNET_assert (NULL != socket); | 420 | if (NULL == socket) |
421 | { | ||
422 | bind_status = GNUNET_NO; | ||
423 | continue; | ||
424 | } | ||
421 | bind_status = GNUNET_NETWORK_socket_bind (socket, | 425 | bind_status = GNUNET_NETWORK_socket_bind (socket, |
422 | ai->ai_addr, | 426 | ai->ai_addr, |
423 | ai->ai_addrlen); | 427 | ai->ai_addrlen); |