diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-19 12:07:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-19 12:07:05 +0000 |
commit | b272a833ee57cad630ecbcce1aab366777042dd9 (patch) | |
tree | 9a6057f81afe36db736b4911a85c0b94538c1f53 /src/transport/gnunet-service-transport_blacklist.c | |
parent | 50c4e060fc721dfe2af9115639a4d47e88e04f00 (diff) | |
download | gnunet-b272a833ee57cad630ecbcce1aab366777042dd9.tar.gz gnunet-b272a833ee57cad630ecbcce1aab366777042dd9.zip |
-fixing #2274 -- eliminating GNUNET_SCHEDULER_add_after
Diffstat (limited to 'src/transport/gnunet-service-transport_blacklist.c')
-rw-r--r-- | src/transport/gnunet-service-transport_blacklist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport_blacklist.c b/src/transport/gnunet-service-transport_blacklist.c index 10362681c..44a029474 100644 --- a/src/transport/gnunet-service-transport_blacklist.c +++ b/src/transport/gnunet-service-transport_blacklist.c | |||
@@ -113,7 +113,7 @@ struct GST_BlacklistCheck | |||
113 | * Current transmission request handle for this client, or NULL if no | 113 | * Current transmission request handle for this client, or NULL if no |
114 | * request is pending. | 114 | * request is pending. |
115 | */ | 115 | */ |
116 | struct GNUNET_CONNECTION_TransmitHandle *th; | 116 | struct GNUNET_SERVER_TransmitHandle *th; |
117 | 117 | ||
118 | /** | 118 | /** |
119 | * Our current position in the blacklisters list. | 119 | * Our current position in the blacklisters list. |
@@ -191,7 +191,7 @@ client_disconnect_notification (void *cls, struct GNUNET_SERVER_Client *client) | |||
191 | bc->bl_pos = bl->next; | 191 | bc->bl_pos = bl->next; |
192 | if (bc->th != NULL) | 192 | if (bc->th != NULL) |
193 | { | 193 | { |
194 | GNUNET_CONNECTION_notify_transmit_ready_cancel (bc->th); | 194 | GNUNET_SERVER_notify_transmit_ready_cancel (bc->th); |
195 | bc->th = NULL; | 195 | bc->th = NULL; |
196 | } | 196 | } |
197 | if (bc->task == GNUNET_SCHEDULER_NO_TASK) | 197 | if (bc->task == GNUNET_SCHEDULER_NO_TASK) |
@@ -813,7 +813,7 @@ GST_blacklist_test_cancel (struct GST_BlacklistCheck *bc) | |||
813 | } | 813 | } |
814 | if (NULL != bc->th) | 814 | if (NULL != bc->th) |
815 | { | 815 | { |
816 | GNUNET_CONNECTION_notify_transmit_ready_cancel (bc->th); | 816 | GNUNET_SERVER_notify_transmit_ready_cancel (bc->th); |
817 | bc->th = NULL; | 817 | bc->th = NULL; |
818 | } | 818 | } |
819 | GNUNET_free (bc); | 819 | GNUNET_free (bc); |