From 851989a46fc5cf5f792ac3f53fa45b29c783a15a Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 25 Jul 2012 17:57:46 +0000 Subject: - initialize pointer --- src/mesh/mesh_api.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesh/mesh_api.c') 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) return 0; } tsize = 0; + next = h->th_head; while ((NULL != (th = next)) && (size >= th->size)) { t = th->tunnel; -- cgit v1.2.3