aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-11-15 15:28:09 +0000
committerBart Polot <bart@net.in.tum.de>2012-11-15 15:28:09 +0000
commitd0aa3bea1ce4eb600b4f81c0d4eeca522e2ad5fb (patch)
tree862df6e1e7a6fc78adb68ddaa517b33d74df84b3
parentec6e8eb2d1ed3f2ca8e1af8767a8c1fa71641c4d (diff)
- TODO
-rw-r--r--src/mesh/gnunet-service-mesh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index 969b83a18b..dff312b45a 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -5209,7 +5209,8 @@ queue_send (void *cls, size_t size, void *buf)
GNUNET_i2s(&my_full_id));
if (NULL == cinfo)
cinfo = tunnel_get_neighbor_fc (t, &dst_id);
- if (GNUNET_SCHEDULER_NO_TASK == cinfo->fc_poll)
+ // FIXME unify bck/fwd structures, bck does not have cinfo right now
+ if (NULL != cinfo && GNUNET_SCHEDULER_NO_TASK == cinfo->fc_poll)
{
cinfo->fc_poll = GNUNET_SCHEDULER_add_delayed (cinfo->fc_poll_time,
&tunnel_poll, cinfo);