gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r21032 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r21032 - gnunet/src/util
Date: Thu, 19 Apr 2012 16:58:38 +0200

Author: grothoff
Date: 2012-04-19 16:58:38 +0200 (Thu, 19 Apr 2012)
New Revision: 21032

Modified:
   gnunet/src/util/connection.c
Log:
-doxygen

Modified: gnunet/src/util/connection.c
===================================================================
--- gnunet/src/util/connection.c        2012-04-19 14:44:34 UTC (rev 21031)
+++ gnunet/src/util/connection.c        2012-04-19 14:58:38 UTC (rev 21032)
@@ -884,15 +884,15 @@
  * 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;
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]