gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r28394 - gnunet/src/mesh
Date: Mon, 5 Aug 2013 11:57:16 +0200

Author: bartpolot
Date: 2013-08-05 11:57:16 +0200 (Mon, 05 Aug 2013)
New Revision: 28394

Modified:
   gnunet/src/mesh/gnunet-service-mesh-enc.c
Log:
- add const status to getter params


Modified: gnunet/src/mesh/gnunet-service-mesh-enc.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh-enc.c   2013-08-05 09:55:31 UTC (rev 
28393)
+++ gnunet/src/mesh/gnunet-service-mesh-enc.c   2013-08-05 09:57:16 UTC (rev 
28394)
@@ -3414,7 +3414,7 @@
  * @param tid Tunnel ID.
  */
 static struct MeshTunnel2 *
-tunnel_get (struct GNUNET_HashCode *tid)
+tunnel_get (const struct GNUNET_HashCode *tid)
 {
   return GNUNET_CONTAINER_multihashmap_get (tunnels, tid);
 }
@@ -3472,7 +3472,7 @@
  * @param cid Connection ID.
  */
 static struct MeshConnection *
-connection_get (struct GNUNET_HashCode *tid, uint32_t cid)
+connection_get (const struct GNUNET_HashCode *tid, uint32_t cid)
 {
   struct MeshConnection *c;
   struct MeshTunnel2 *t;
@@ -4731,7 +4731,7 @@
   struct MeshConnection *c;
   struct MeshTunnel2 *t;
   struct MeshPeer *neighbor;
-  strcut MeshFlowControl *fc;
+  struct MeshFlowControl *fc;
   uint32_t pid;
   uint32_t ttl;
   uint16_t type;




reply via email to

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