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:
4fe86c4
)
- fix connection.c:972 assertion, mark tunnel as WAITING when an incoming connection...
author
Bart Polot
<bart@net.in.tum.de>
Wed, 15 Oct 2014 00:55:49 +0000
(
00:55
+0000)
committer
Bart Polot
<bart@net.in.tum.de>
Wed, 15 Oct 2014 00:55:49 +0000
(
00:55
+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 48f8ee09f5b5ab094e25dfe4f36a83ca474b4459..c6e65926b3a18424a63fe6bace746c6df0800716 100644
(file)
--- a/
src/cadet/gnunet-service-cadet_tunnel.c
+++ b/
src/cadet/gnunet-service-cadet_tunnel.c
@@
-2356,6
+2356,9
@@
GCT_add_connection (struct CadetTunnel *t, struct CadetConnection *c)
GNUNET_CONTAINER_DLL_insert (t->connection_head, t->connection_tail, aux);
+ if (CADET_TUNNEL_SEARCHING == t->cstate)
+ GCT_change_estate (t, CADET_TUNNEL_WAITING);
+
if (GNUNET_SCHEDULER_NO_TASK != t->trim_connections_task)
t->trim_connections_task = GNUNET_SCHEDULER_add_now (&trim_connections, t);
}
@@
-3056,7
+3059,7
@@
GCT_send_connection_acks (struct CadetTunnel *t)
GCC_is_origin (iter->c, GNUNET_NO));
}
- GNUNET_break (to_allow == 0);
+ GNUNET_break (to_allow == 0);
//FIXME tripped
}