aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-01-26 15:08:40 +0000
committerBart Polot <bart@net.in.tum.de>2012-01-26 15:08:40 +0000
commit1e1865f39492df814911c4448155df6b09ab802d (patch)
treebf000573246f9c2c375558242501259b0feea848 /src/mesh
parent314e0362df8be84d2367902e1b6cfe4566ec8c7a (diff)
downloadgnunet-1e1865f39492df814911c4448155df6b09ab802d.tar.gz
gnunet-1e1865f39492df814911c4448155df6b09ab802d.zip
- Fixed #2105
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/mesh_api.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index 74fcbc2ff..4b16b004b 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -1168,10 +1168,11 @@ send_callback (void *cls, size_t size, void *buf)
1168 if (NULL != (th = h->th_head)) 1168 if (NULL != (th = h->th_head))
1169 { 1169 {
1170 LOG (GNUNET_ERROR_TYPE_DEBUG, "mesh: next size: %u\n", th->size); 1170 LOG (GNUNET_ERROR_TYPE_DEBUG, "mesh: next size: %u\n", th->size);
1171 h->th = 1171 if (NULL == h->th)
1172 GNUNET_CLIENT_notify_transmit_ready (h->client, th->size, 1172 h->th =
1173 GNUNET_TIME_UNIT_FOREVER_REL, 1173 GNUNET_CLIENT_notify_transmit_ready (h->client, th->size,
1174 GNUNET_YES, &send_callback, h); 1174 GNUNET_TIME_UNIT_FOREVER_REL,
1175 GNUNET_YES, &send_callback, h);
1175 } 1176 }
1176 LOG (GNUNET_ERROR_TYPE_DEBUG, "mesh: Send packet() END\n"); 1177 LOG (GNUNET_ERROR_TYPE_DEBUG, "mesh: Send packet() END\n");
1177 if (GNUNET_NO == h->in_receive) 1178 if (GNUNET_NO == h->in_receive)