diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-01-05 20:53:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-01-05 20:53:45 +0100 |
commit | cde342c78885f070b3905cf84caa917fd7da2eb2 (patch) | |
tree | 738675b80787651fecff667c690689033ef2fca5 /src/util/network.c | |
parent | 8058989645e9fdb0dd13a369c2e2899016d70533 (diff) | |
download | gnunet-cde342c78885f070b3905cf84caa917fd7da2eb2.tar.gz gnunet-cde342c78885f070b3905cf84caa917fd7da2eb2.zip |
initialize variable on all paths
Diffstat (limited to 'src/util/network.c')
-rw-r--r-- | src/util/network.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/network.c b/src/util/network.c index d7059a057..973878f93 100644 --- a/src/util/network.c +++ b/src/util/network.c | |||
@@ -1738,6 +1738,7 @@ GNUNET_NETWORK_test_port_free (int ipproto, | |||
1738 | open_port_str, | 1738 | open_port_str, |
1739 | &hint, | 1739 | &hint, |
1740 | &ret)); | 1740 | &ret)); |
1741 | bind_status = GNUNET_NO; | ||
1741 | for (ai = ret; NULL != ai; ai = ai->ai_next) | 1742 | for (ai = ret; NULL != ai; ai = ai->ai_next) |
1742 | { | 1743 | { |
1743 | socket = GNUNET_NETWORK_socket_create (ai->ai_family, | 1744 | socket = GNUNET_NETWORK_socket_create (ai->ai_family, |