[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r38208 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r38208 - gnunet/src/cadet |
Date: |
Wed, 26 Oct 2016 06:20:52 +0200 |
Author: bartpolot
Date: 2016-10-26 06:20:52 +0200 (Wed, 26 Oct 2016)
New Revision: 38208
Modified:
gnunet/src/cadet/gnunet-service-cadet_tunnel.c
Log:
- simplify KX code
Modified: gnunet/src/cadet/gnunet-service-cadet_tunnel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_tunnel.c 2016-10-26 04:20:51 UTC
(rev 38207)
+++ gnunet/src/cadet/gnunet-service-cadet_tunnel.c 2016-10-26 04:20:52 UTC
(rev 38208)
@@ -1575,7 +1575,6 @@
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 @@
{
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 @@
return GCC_send_prebuilt_message (&msg->header, type, 0, c,
fwd, GNUNET_YES,
- cont, t);
+ &ephm_sent, t);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r38208 - gnunet/src/cadet,
gnunet <=