From: Bart Polot Date: Mon, 27 Apr 2015 19:14:31 +0000 (+0000) Subject: - use proper connection to determine direction X-Git-Tag: initial-import-from-subversion-38251~2039 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=69b7559d9076932619d58663aa1d07fc9f8d21cc;p=oweals%2Fgnunet.git - use proper connection to determine direction --- diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 15d677ca4..041701351 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c @@ -1672,7 +1672,7 @@ send_kx (struct CadetTunnel *t, GNUNET_assert (0); } - fwd = GCC_is_origin (t->connection_head->c, GNUNET_YES); + fwd = GCC_is_origin (c, GNUNET_YES); return GCC_send_prebuilt_message (&msg->header, type, 0, c, fwd, GNUNET_YES,