diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-07-25 17:57:46 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-07-25 17:57:46 +0000 |
commit | 851989a46fc5cf5f792ac3f53fa45b29c783a15a (patch) | |
tree | e9045922ce0f99a36ca8fb9e4f53d8c54d03569d /src/mesh/mesh_api.c | |
parent | 2855795582ac050551da45a04a687e73c2c3d0d8 (diff) | |
download | gnunet-851989a46fc5cf5f792ac3f53fa45b29c783a15a.tar.gz gnunet-851989a46fc5cf5f792ac3f53fa45b29c783a15a.zip |
- initialize pointer
Diffstat (limited to 'src/mesh/mesh_api.c')
-rw-r--r-- | src/mesh/mesh_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index aee4c2a7b..27630d3af 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c | |||
@@ -1196,6 +1196,7 @@ send_callback (void *cls, size_t size, void *buf) | |||
1196 | return 0; | 1196 | return 0; |
1197 | } | 1197 | } |
1198 | tsize = 0; | 1198 | tsize = 0; |
1199 | next = h->th_head; | ||
1199 | while ((NULL != (th = next)) && (size >= th->size)) | 1200 | while ((NULL != (th = next)) && (size >= th->size)) |
1200 | { | 1201 | { |
1201 | t = th->tunnel; | 1202 | t = th->tunnel; |