From: Bart Polot Date: Mon, 23 Jan 2012 14:27:18 +0000 (+0000) Subject: - Additional fix to #2095 (local clients can do ToOrigin too) X-Git-Tag: initial-import-from-subversion-38251~15169 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1a6bf24e5dca8f15965bca96f7c0063525564858;p=oweals%2Fgnunet.git - Additional fix to #2095 (local clients can do ToOrigin too) --- 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, } /* It shouldn't be a local tunnel. */ - if (NULL != t->client) + if (NULL != t->client && NULL == t->client_dest) { GNUNET_break (0); GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);