gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r23944 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r23944 - gnunet/src/mesh
Date: Sat, 22 Sep 2012 19:28:41 +0200

Author: bartpolot
Date: 2012-09-22 19:28:41 +0200 (Sat, 22 Sep 2012)
New Revision: 23944

Modified:
   gnunet/src/mesh/gnunet-service-mesh.c
Log:
- Fix compilation errors


Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c       2012-09-22 17:02:06 UTC (rev 
23943)
+++ gnunet/src/mesh/gnunet-service-mesh.c       2012-09-22 17:28:41 UTC (rev 
23944)
@@ -4340,8 +4340,10 @@
  * @param cls closure (client that is disconnecting)
  * @param key the hash of the local tunnel id (used to access the hashmap)
  * @param value the value stored at the key (tunnel to destroy)
+ *
+ * @return GNUNET_OK, keep iterating.
  */
-static void
+static int
 tunnel_destroy_iterator (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct MeshTunnel *t = value;
@@ -4359,6 +4361,8 @@
   tunnel_send_destroy(t);
   t->owner = NULL;
   t->destroy = GNUNET_YES;
+
+  return GNUNET_OK;
 }
 
 




reply via email to

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