diff options
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; |