From 4101c2a6c6364688a58f0d9d3a628aa57f25f0d6 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 26 Oct 2016 04:20:52 +0000 Subject: [PATCH] - simplify KX code --- src/cadet/gnunet-service-cadet_tunnel.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index e60c3c023..fc715a419 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c @@ -1575,7 +1575,6 @@ send_kx (struct CadetTunnel *t, char cbuf[sizeof (struct GNUNET_CADET_KX) + size]; uint16_t type; int fwd; - GCC_sent cont; LOG (GNUNET_ERROR_TYPE_DEBUG, "GMT KX on Tunnel %s\n", GCT_2s (t)); @@ -1621,7 +1620,6 @@ send_kx (struct CadetTunnel *t, { case GNUNET_MESSAGE_TYPE_CADET_AX_KX: GNUNET_assert (NULL == t->ephm_h); - cont = &ephm_sent; break; default: LOG (GNUNET_ERROR_TYPE_DEBUG, "unkown type %s\n", GC_m2s (type)); @@ -1633,7 +1631,7 @@ send_kx (struct CadetTunnel *t, return GCC_send_prebuilt_message (&msg->header, type, 0, c, fwd, GNUNET_YES, - cont, t); + &ephm_sent, t); } -- 2.25.1