From 9dfda11d4fba38cbf2cf23c9acdf2c31eebbc72e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 19 Apr 2012 14:58:38 +0000 Subject: [PATCH] -doxygen --- src/util/connection.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } -- 2.25.1