- TODO
authorBart Polot <bart@net.in.tum.de>
Thu, 15 Nov 2012 15:28:09 +0000 (15:28 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 15 Nov 2012 15:28:09 +0000 (15:28 +0000)
src/mesh/gnunet-service-mesh.c

index 969b83a18b5380588229277aa4b6286fa1eb1cd7..dff312b45a786fb07d96aa54b1810efa9c0bcac9 100644 (file)
@@ -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);