[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: not always ready when send_
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: not always ready when send_kx is called |
Date: |
Fri, 24 Feb 2017 14:15:12 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new d9998446e not always ready when send_kx is called
d9998446e is described below
commit d9998446e75bdeb535dc78a58dbc8b7f5a962dd3
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Feb 24 14:16:27 2017 +0100
not always ready when send_kx is called
---
src/cadet/gnunet-service-cadet-new_tunnels.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/cadet/gnunet-service-cadet-new_tunnels.c
b/src/cadet/gnunet-service-cadet-new_tunnels.c
index 9d87f9e03..bf05fae6b 100644
--- a/src/cadet/gnunet-service-cadet-new_tunnels.c
+++ b/src/cadet/gnunet-service-cadet-new_tunnels.c
@@ -1319,7 +1319,8 @@ send_kx (struct CadetTunnel *t,
struct GNUNET_CADET_TunnelKeyExchangeMessage *msg;
enum GNUNET_CADET_KX_Flags flags;
- if (NULL == ct)
+ if ( (NULL == ct) ||
+ (GNUNET_NO == ct->is_ready) )
ct = get_ready_connection (t);
if (NULL == ct)
{
@@ -1829,7 +1830,7 @@ GCT_handle_kx_auth (struct CadetTConnection *ct,
1,
GNUNET_NO);
send_kx (t,
- NULL,
+ ct,
&t->ax);
return;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: not always ready when send_kx is called,
gnunet <=