diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-15 21:49:06 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-15 21:49:06 +0100 |
commit | 71785fccb8584bd028ff48aa56f55e84324c569e (patch) | |
tree | df07376ac00f04484045be67f5743ff42449a2d2 /src/cadet/gnunet-service-cadet_peer.c | |
parent | 4270685ca41e6401f0836716a24e87dbab4d1145 (diff) | |
download | gnunet-71785fccb8584bd028ff48aa56f55e84324c569e.tar.gz gnunet-71785fccb8584bd028ff48aa56f55e84324c569e.zip |
cleaning up some CADET logic, improving types used
Diffstat (limited to 'src/cadet/gnunet-service-cadet_peer.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet_peer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c index c1e2d3224..b2ad1124c 100644 --- a/src/cadet/gnunet-service-cadet_peer.c +++ b/src/cadet/gnunet-service-cadet_peer.c | |||
@@ -76,7 +76,7 @@ struct CadetPeerQueue { | |||
76 | * Task to asynchronously run the drop continuation. | 76 | * Task to asynchronously run the drop continuation. |
77 | */ | 77 | */ |
78 | struct GNUNET_SCHEDULER_Task *drop_task; | 78 | struct GNUNET_SCHEDULER_Task *drop_task; |
79 | 79 | ||
80 | /** | 80 | /** |
81 | * Time when message was queued for sending. | 81 | * Time when message was queued for sending. |
82 | */ | 82 | */ |
@@ -1145,7 +1145,7 @@ static void | |||
1145 | drop_cb (void *cls) | 1145 | drop_cb (void *cls) |
1146 | { | 1146 | { |
1147 | struct CadetPeerQueue *q = cls; | 1147 | struct CadetPeerQueue *q = cls; |
1148 | 1148 | ||
1149 | GNUNET_MQ_discard (q->env); | 1149 | GNUNET_MQ_discard (q->env); |
1150 | call_peer_cont (q, GNUNET_YES); | 1150 | call_peer_cont (q, GNUNET_YES); |
1151 | GNUNET_free (q); | 1151 | GNUNET_free (q); |