aboutsummaryrefslogtreecommitdiff
path: root/src/util/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/connection.c')
-rw-r--r--src/util/connection.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/connection.c b/src/util/connection.c
index d7ae12fb3..c4795cebe 100644
--- a/src/util/connection.c
+++ b/src/util/connection.c
@@ -864,8 +864,9 @@ GNUNET_CONNECTION_create_from_connect_to_unixpath (const struct
864 GNUNET_free (connection); 864 GNUNET_free (connection);
865 return NULL; 865 return NULL;
866 } 866 }
867 if (GNUNET_OK != 867 if ( (GNUNET_OK !=
868 GNUNET_NETWORK_socket_connect (connection->sock, connection->addr, connection->addrlen)) 868 GNUNET_NETWORK_socket_connect (connection->sock, connection->addr, connection->addrlen)) &&
869 (EINPROGRESS != errno) )
869 { 870 {
870 /* Just return; we expect everything to work eventually so don't fail HARD */ 871 /* Just return; we expect everything to work eventually so don't fail HARD */
871 GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (connection->sock)); 872 GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (connection->sock));