From: Christian Grothoff Date: Thu, 19 Apr 2012 14:58:38 +0000 (+0000) Subject: -doxygen X-Git-Tag: initial-import-from-subversion-38251~13875 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9dfda11d4fba38cbf2cf23c9acdf2c31eebbc72e;p=oweals%2Fgnunet.git -doxygen --- diff --git a/src/util/connection.c b/src/util/connection.c index 4473b7bb5..ad39f5b48 100644 --- a/src/util/connection.c +++ b/src/util/connection.c @@ -884,15 +884,15 @@ GNUNET_CONNECTION_create_from_sockaddr (int af_family, * Note that a connection that is still trying to connect is considered * valid. * - * @param sock connection to check + * @param connection connection to check * @return GNUNET_YES if valid, GNUNET_NO otherwise */ int -GNUNET_CONNECTION_check (struct GNUNET_CONNECTION_Handle *sock) +GNUNET_CONNECTION_check (struct GNUNET_CONNECTION_Handle *connection) { - if ((sock->ap_head != NULL) || (sock->dns_active != NULL)) + if ((connection->ap_head != NULL) || (connection->dns_active != NULL)) return GNUNET_YES; /* still trying to connect */ - return (sock->sock == NULL) ? GNUNET_NO : GNUNET_YES; + return (connection->sock == NULL) ? GNUNET_NO : GNUNET_YES; }