projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97ea58b
)
- simplify KX code
author
Bart Polot
<bart@net.in.tum.de>
Wed, 26 Oct 2016 04:20:52 +0000
(
04:20
+0000)
committer
Bart Polot
<bart@net.in.tum.de>
Wed, 26 Oct 2016 04:20:52 +0000
(
04:20
+0000)
src/cadet/gnunet-service-cadet_tunnel.c
patch
|
blob
|
history
diff --git
a/src/cadet/gnunet-service-cadet_tunnel.c
b/src/cadet/gnunet-service-cadet_tunnel.c
index e60c3c0239b70d2b4f074ef17902cb0462b4e32f..fc715a419da421a3ee9d8a9669ff112b2e0ca471 100644
(file)
--- 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,
-
co
nt, t);
+
&ephm_se
nt, t);
}