aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-09 19:43:27 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-09 19:43:27 +0000
commitb4e0339e9687a8315bc078092ff017283d5de345 (patch)
tree7c35d329b2e3c36d93d12ee1b6d8770558ecac6d /src/core
parent1ff6491c4bfb2323237bc2af60ee6279e1f4167e (diff)
downloadgnunet-b4e0339e9687a8315bc078092ff017283d5de345.tar.gz
gnunet-b4e0339e9687a8315bc078092ff017283d5de345.zip
-fix #2331
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core_api.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c
index b9c158ae3..18bfde7a9 100644
--- a/src/core/core_api.c
+++ b/src/core/core_api.c
@@ -593,6 +593,11 @@ transmission_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
593 593
594/** 594/**
595 * Transmit the next message to the core service. 595 * Transmit the next message to the core service.
596 *
597 * @param cls closure with the 'struct GNUNET_CORE_Handle'
598 * @param size number of bytes available in buf
599 * @param buf where the callee should write the message
600 * @return number of bytes written to buf
596 */ 601 */
597static size_t 602static size_t
598transmit_message (void *cls, size_t size, void *buf) 603transmit_message (void *cls, size_t size, void *buf)
@@ -1432,7 +1437,8 @@ GNUNET_CORE_notify_transmit_ready_cancel (struct GNUNET_CORE_TransmitHandle *th)
1432 * us from the 'ready' list */ 1437 * us from the 'ready' list */
1433 GNUNET_CONTAINER_DLL_remove (h->ready_peer_head, h->ready_peer_tail, pr); 1438 GNUNET_CONTAINER_DLL_remove (h->ready_peer_head, h->ready_peer_tail, pr);
1434 } 1439 }
1435 request_next_transmission (pr); 1440 if (NULL != h->client)
1441 request_next_transmission (pr);
1436 } 1442 }
1437} 1443}
1438 1444