aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-04-19 14:58:38 +0000
committerChristian Grothoff <christian@grothoff.org>2012-04-19 14:58:38 +0000
commit9dfda11d4fba38cbf2cf23c9acdf2c31eebbc72e (patch)
tree58f6c65ed326a41ba4fee3abe1d3aa9d7625635c /src
parent219a4faa65007636649166acc87b69447d7b463d (diff)
-doxygen
Diffstat (limited to 'src')
-rw-r--r--src/util/connection.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/connection.c b/src/util/connection.c
index 4473b7bb58..ad39f5b48a 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;
}