aboutsummaryrefslogtreecommitdiff
path: root/src/util/connection.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-09-02 14:44:42 +0000
committerChristian Grothoff <christian@grothoff.org>2011-09-02 14:44:42 +0000
commite1fda8a5d8674328afa61cc50842fdbd2a7044ba (patch)
treeb36e7c638c5b0cb94a693376419959f12d84b84c /src/util/connection.c
parent012cb16a93acbfca1119966d5b4679b99e5c9125 (diff)
downloadgnunet-e1fda8a5d8674328afa61cc50842fdbd2a7044ba.tar.gz
gnunet-e1fda8a5d8674328afa61cc50842fdbd2a7044ba.zip
doxygen
Diffstat (limited to 'src/util/connection.c')
-rw-r--r--src/util/connection.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/util/connection.c b/src/util/connection.c
index 8639d2416..2c32923c2 100644
--- a/src/util/connection.c
+++ b/src/util/connection.c
@@ -1685,28 +1685,28 @@ GNUNET_CONNECTION_notify_transmit_ready (struct GNUNET_CONNECTION_Handle *sock,
1685void 1685void
1686GNUNET_CONNECTION_notify_transmit_ready_cancel (struct 1686GNUNET_CONNECTION_notify_transmit_ready_cancel (struct
1687 GNUNET_CONNECTION_TransmitHandle 1687 GNUNET_CONNECTION_TransmitHandle
1688 *h) 1688 *th)
1689{ 1689{
1690 GNUNET_assert (h->notify_ready != NULL); 1690 GNUNET_assert (th->notify_ready != NULL);
1691 if (0 != (h->sh->ccs & COCO_TRANSMIT_READY)) 1691 if (0 != (th->sh->ccs & COCO_TRANSMIT_READY))
1692 { 1692 {
1693#if DEBUG_CONNECTION 1693#if DEBUG_CONNECTION
1694 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1694 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1695 "notify_transmit_ready_cancel cancels timeout_task (%p)\n", h); 1695 "notify_transmit_ready_cancel cancels timeout_task (%p)\n", th);
1696#endif 1696#endif
1697 GNUNET_SCHEDULER_cancel (h->timeout_task); 1697 GNUNET_SCHEDULER_cancel (th->timeout_task);
1698 h->timeout_task = GNUNET_SCHEDULER_NO_TASK; 1698 th->timeout_task = GNUNET_SCHEDULER_NO_TASK;
1699 h->sh->ccs -= COCO_TRANSMIT_READY; 1699 th->sh->ccs -= COCO_TRANSMIT_READY;
1700 } 1700 }
1701 else 1701 else
1702 { 1702 {
1703 if (h->sh->write_task != GNUNET_SCHEDULER_NO_TASK) 1703 if (th->sh->write_task != GNUNET_SCHEDULER_NO_TASK)
1704 { 1704 {
1705 GNUNET_SCHEDULER_cancel (h->sh->write_task); 1705 GNUNET_SCHEDULER_cancel (th->sh->write_task);
1706 h->sh->write_task = GNUNET_SCHEDULER_NO_TASK; 1706 th->sh->write_task = GNUNET_SCHEDULER_NO_TASK;
1707 } 1707 }
1708 } 1708 }
1709 h->notify_ready = NULL; 1709 th->notify_ready = NULL;
1710} 1710}
1711 1711
1712/* end of connection.c */ 1712/* end of connection.c */