-fix fix
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh-new.c
index a426513785524948672031a24b1fd3ab69342511..3b38fc05c8ca702f9276878ff3263972bfdfa5cb 100644 (file)
@@ -3406,7 +3406,7 @@ tunnel_add_client (struct MeshTunnel *t, struct MeshClient *c)
   struct MeshTunnelFlowControlInfo fcinfo;
 
   GNUNET_array_append (t->clients, t->nclients, c);
-  memset (&fcinfo, 0, sizeof (fcinfo));
+  fcinfo.t = t;
   fcinfo.client = c;
   fcinfo.fwd_ack = t->fwd_pid + 1;
   fcinfo.bck_ack = t->nobuffer ? 1 : INITIAL_WINDOW_SIZE - 1;