-fix fix
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh-new.c
index d751eac07cb2e87b2c05fc5905701226dce9c00b..3b38fc05c8ca702f9276878ff3263972bfdfa5cb 100644 (file)
@@ -35,6 +35,7 @@
  * - MAIN FUNCTIONS (main & run)
  *
  * TODO:
+ * - Backport r24764, r24767.
  * - error reporting (CREATE/CHANGE/ADD/DEL?) -- new message!
  * - partial disconnect reporting -- same as error reporting?
  * - add ping message
@@ -3405,6 +3406,7 @@ tunnel_add_client (struct MeshTunnel *t, struct MeshClient *c)
   struct MeshTunnelFlowControlInfo fcinfo;
 
   GNUNET_array_append (t->clients, t->nclients, c);
+  fcinfo.t = t;
   fcinfo.client = c;
   fcinfo.fwd_ack = t->fwd_pid + 1;
   fcinfo.bck_ack = t->nobuffer ? 1 : INITIAL_WINDOW_SIZE - 1;