aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-01-23 14:27:18 +0000
committerBart Polot <bart@net.in.tum.de>2012-01-23 14:27:18 +0000
commit1a6bf24e5dca8f15965bca96f7c0063525564858 (patch)
treec0bb21d5f4cbf8dcc332ff0e68836b80e6d1e5ff /src/mesh
parentc82878c08b3d8f45ab62324aab268b9e94f29a5f (diff)
downloadgnunet-1a6bf24e5dca8f15965bca96f7c0063525564858.tar.gz
gnunet-1a6bf24e5dca8f15965bca96f7c0063525564858.zip
- Additional fix to #2095 (local clients can do ToOrigin too)
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/gnunet-service-mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index a09c60f93..1c47d7fcf 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -4212,7 +4212,7 @@ handle_local_to_origin (void *cls, struct GNUNET_SERVER_Client *client,
4212 } 4212 }
4213 4213
4214 /* It shouldn't be a local tunnel. */ 4214 /* It shouldn't be a local tunnel. */
4215 if (NULL != t->client) 4215 if (NULL != t->client && NULL == t->client_dest)
4216 { 4216 {
4217 GNUNET_break (0); 4217 GNUNET_break (0);
4218 GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); 4218 GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);