[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30863 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30863 - gnunet/src/mesh |
Date: |
Mon, 25 Nov 2013 23:31:22 +0100 |
Author: bartpolot
Date: 2013-11-25 23:31:22 +0100 (Mon, 25 Nov 2013)
New Revision: 30863
Modified:
gnunet/src/mesh/gnunet-service-mesh_connection.c
Log:
- fix #3111
Modified: gnunet/src/mesh/gnunet-service-mesh_connection.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_connection.c 2013-11-25 21:51:08 UTC
(rev 30862)
+++ gnunet/src/mesh/gnunet-service-mesh_connection.c 2013-11-25 22:31:22 UTC
(rev 30863)
@@ -509,7 +509,7 @@
* @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 @@
* #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 @@
*
* @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 @@
/**
* 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 @@
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 @@
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 @@
return buf;
}
return GNUNET_h2s (&c->id);
-}
\ No newline at end of file
+}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30863 - gnunet/src/mesh,
gnunet <=