[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30584 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30584 - gnunet/src/mesh |
Date: |
Thu, 7 Nov 2013 01:01:48 +0100 |
Author: bartpolot
Date: 2013-11-07 01:01:48 +0100 (Thu, 07 Nov 2013)
New Revision: 30584
Modified:
gnunet/src/mesh/gnunet-service-mesh_tunnel.c
Log:
- fixed state overwriting
Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c 2013-11-06 23:00:22 UTC
(rev 30583)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c 2013-11-07 00:01:48 UTC
(rev 30584)
@@ -941,6 +941,7 @@
t->rekey_task = GNUNET_SCHEDULER_NO_TASK;
GNUNET_free (t->kx_ctx);
t->kx_ctx = NULL;
+ t->state = MESH_TUNNEL3_READY;
send_queued_data (t, GNUNET_YES);
send_queued_data (t, GNUNET_NO);
}
@@ -1175,7 +1176,10 @@
{
rekey_tunnel (t, NULL);
}
- t->state = state;
+ else
+ {
+ t->state = state;
+ }
if (MESH_TUNNEL3_READY == state && 3 <= GMT_count_connections (t))
{
GMP_stop_search (t->peer);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30584 - gnunet/src/mesh,
gnunet <=