aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh2_api.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-06-07 01:49:26 +0000
committerBart Polot <bart@net.in.tum.de>2013-06-07 01:49:26 +0000
commit595e3d738354a51fb599ea4e2746a35796f79659 (patch)
tree735a29431ed10d71b211687d62ab6836a7196019 /src/mesh/mesh2_api.c
parent5b9e71076155666ab7b66b49d329f1463bea2309 (diff)
downloadgnunet-595e3d738354a51fb599ea4e2746a35796f79659.tar.gz
gnunet-595e3d738354a51fb599ea4e2746a35796f79659.zip
- initialize to proper new values
Diffstat (limited to 'src/mesh/mesh2_api.c')
-rw-r--r--src/mesh/mesh2_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesh/mesh2_api.c b/src/mesh/mesh2_api.c
index 0098b2bf0..0475f7fe0 100644
--- a/src/mesh/mesh2_api.c
+++ b/src/mesh/mesh2_api.c
@@ -448,6 +448,8 @@ create_tunnel (struct GNUNET_MESH_Handle *h, MESH_TunnelNumber tid)
448 } 448 }
449 t->last_ack_recv = (uint32_t) -1; 449 t->last_ack_recv = (uint32_t) -1;
450 t->last_pid_recv = (uint32_t) -1; 450 t->last_pid_recv = (uint32_t) -1;
451 t->last_ack_sent = (uint32_t) -1;
452 t->last_pid_sent = (uint32_t) -1;
451 t->buffering = GNUNET_YES; 453 t->buffering = GNUNET_YES;
452 return t; 454 return t;
453} 455}