From: Bart Polot Date: Wed, 2 Nov 2011 13:57:35 +0000 (+0000) Subject: Fix for matins #1871 X-Git-Tag: initial-import-from-subversion-38251~16105 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5510235d61541aa1a52544918d8f3605efb40b5a;p=oweals%2Fgnunet.git Fix for matins #1871 --- diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 925e6f3fc..9e37345d0 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -4453,6 +4453,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, peer = peer_info_get(&my_full_id); p = path_new (1); p->peers[0] = myid; + GNUNET_PEER_change_rc (myid, 1); path_add_to_peer(peer, p, GNUNET_YES); /* Scheduled the task to clean up when shutdown is called */