diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-05 18:39:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-05 18:39:43 +0000 |
commit | a6a80e594d092334fc4f3a26f121c76df61a3a3b (patch) | |
tree | 6e0ef85dce98deb31b9a15ae6773b25015704629 /src | |
parent | a7b147036522ec01a420ecd3888080cca68c412d (diff) | |
download | gnunet-a6a80e594d092334fc4f3a26f121c76df61a3a3b.tar.gz gnunet-a6a80e594d092334fc4f3a26f121c76df61a3a3b.zip |
-fix uninitialized var
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh-new.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh-new.c b/src/mesh/gnunet-service-mesh-new.c index a12c6b598..a42651378 100644 --- a/src/mesh/gnunet-service-mesh-new.c +++ b/src/mesh/gnunet-service-mesh-new.c | |||
@@ -3406,6 +3406,7 @@ tunnel_add_client (struct MeshTunnel *t, struct MeshClient *c) | |||
3406 | struct MeshTunnelFlowControlInfo fcinfo; | 3406 | struct MeshTunnelFlowControlInfo fcinfo; |
3407 | 3407 | ||
3408 | GNUNET_array_append (t->clients, t->nclients, c); | 3408 | GNUNET_array_append (t->clients, t->nclients, c); |
3409 | memset (&fcinfo, 0, sizeof (fcinfo)); | ||
3409 | fcinfo.client = c; | 3410 | fcinfo.client = c; |
3410 | fcinfo.fwd_ack = t->fwd_pid + 1; | 3411 | fcinfo.fwd_ack = t->fwd_pid + 1; |
3411 | fcinfo.bck_ack = t->nobuffer ? 1 : INITIAL_WINDOW_SIZE - 1; | 3412 | fcinfo.bck_ack = t->nobuffer ? 1 : INITIAL_WINDOW_SIZE - 1; |