[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19258 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19258 - gnunet/src/mesh |
Date: |
Thu, 19 Jan 2012 15:33:09 +0100 |
Author: bartpolot
Date: 2012-01-19 15:33:09 +0100 (Thu, 19 Jan 2012)
New Revision: 19258
Modified:
gnunet/src/mesh/mesh_api.c
Log:
Fixed a peer_rc bug.
Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c 2012-01-19 13:49:17 UTC (rev 19257)
+++ gnunet/src/mesh/mesh_api.c 2012-01-19 14:33:09 UTC (rev 19258)
@@ -775,6 +775,7 @@
t->peers[0]->t = t;
t->peers[0]->connected = 1;
t->peers[0]->id = t->owner;
+ GNUNET_PEER_change_rc (t->owner, 1);
t->mesh = h;
t->tid = tid;
if (NULL != h->new_tunnel)
@@ -918,13 +919,6 @@
case GNUNET_MESSAGE_TYPE_MESH_MULTICAST:
mcast = (struct GNUNET_MESH_Multicast *) message;
t = retrieve_tunnel (h, ntohl (mcast->tid));
-#if MESH_API_DEBUG // FIXME debug for #2071
- if (NULL == t)
- {
- GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "mesh: tunnel %u unknown\n",
- ntohl (mcast->tid));
- }
-#endif
payload = (struct GNUNET_MessageHeader *) &mcast[1];
peer = &mcast->oid;
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19258 - gnunet/src/mesh,
gnunet <=