From 643d46eb6ccb1c9278c8ad4601d8559c54bdb9d2 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 25 Nov 2013 22:31:22 +0000 Subject: [PATCH] - fix #3111 --- src/mesh/gnunet-service-mesh_connection.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c index 29f872ac4..46cf04226 100644 --- a/src/mesh/gnunet-service-mesh_connection.c +++ b/src/mesh/gnunet-service-mesh_connection.c @@ -509,7 +509,7 @@ send_ack (struct MeshConnection *c, unsigned int buffer, int fwd, int force) * @param size Size of the message. * @param wait Time spent waiting for core (only the time for THIS message) */ -static void +static void message_sent (void *cls, struct MeshConnection *c, uint16_t type, int fwd, size_t size, @@ -664,7 +664,7 @@ get_hop (struct MeshConnection *c, int fwd) * #GNUNET_NO for BCK. * #GNUNET_SYSERR for errors. */ -static int +static int is_fwd (const struct MeshConnection *c, const struct GNUNET_PeerIdentity *sender) { @@ -741,7 +741,7 @@ send_broken (struct MeshConnection *c, * * @param c Connection to keep alive.. * @param fwd Is this a FWD keepalive? (owner -> dest). - * + * * FIXME use only one type, register in GMC_send_prebuilt_message() */ static void @@ -888,7 +888,7 @@ connection_unlock_queue (struct MeshConnection *c, int fwd) /** * Cancel all transmissions that belong to a certain connection. - * + * * If the connection is scheduled for destruction and no more messages are left, * the connection will be destroyed by the continuation call. * @@ -963,7 +963,7 @@ poll_sent (void *cls, fc->poll_task = GNUNET_SCHEDULER_add_delayed (fc->poll_time, &connection_poll, fc); LOG (GNUNET_ERROR_TYPE_DEBUG, " task %u\n", fc->poll_task); - + } /** @@ -2704,7 +2704,7 @@ GMC_start_poll (struct MeshConnection *c, int fwd) fc = fwd ? &c->fwd_fc : &c->bck_fc; LOG (GNUNET_ERROR_TYPE_DEBUG, " *** POLL %s requested\n", fwd ? "FWD" : "BCK"); - if (GNUNET_SCHEDULER_NO_TASK != fc->poll_task && NULL != fc->poll_msg) + if (GNUNET_SCHEDULER_NO_TASK != fc->poll_task || NULL != fc->poll_msg) { LOG (GNUNET_ERROR_TYPE_DEBUG, " *** not needed (%u, %p)\n", fc->poll_task, fc->poll_msg); @@ -2754,4 +2754,4 @@ GMC_2s (struct MeshConnection *c) return buf; } return GNUNET_h2s (&c->id); -} \ No newline at end of file +} -- 2.25.1