aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_put.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-04-30 11:31:22 +0200
committerChristian Grothoff <christian@grothoff.org>2018-04-30 11:31:22 +0200
commitccf723196e9ff7f31a56a8e8ebd8319d07fa17c8 (patch)
tree0ccec2bc54f5f80f35054dda5a1cfe8202ab522f /src/fs/gnunet-service-fs_put.c
parent82c1ee4d147f28e919d82f87fcd787e719d7e572 (diff)
downloadgnunet-ccf723196e9ff7f31a56a8e8ebd8319d07fa17c8.tar.gz
gnunet-ccf723196e9ff7f31a56a8e8ebd8319d07fa17c8.zip
eliminate DHT PUT OK message by using MQ feature of calling continuation when transmission is complete
Diffstat (limited to 'src/fs/gnunet-service-fs_put.c')
-rw-r--r--src/fs/gnunet-service-fs_put.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fs/gnunet-service-fs_put.c b/src/fs/gnunet-service-fs_put.c
index e8c7f586d..bb8560fff 100644
--- a/src/fs/gnunet-service-fs_put.c
+++ b/src/fs/gnunet-service-fs_put.c
@@ -135,14 +135,9 @@ schedule_next_put (struct PutOperator *po)
135 * Continuation called after DHT PUT operation has finished. 135 * Continuation called after DHT PUT operation has finished.
136 * 136 *
137 * @param cls type of blocks to gather 137 * @param cls type of blocks to gather
138 * @param success GNUNET_OK if the PUT was transmitted,
139 * GNUNET_NO on timeout,
140 * GNUNET_SYSERR on disconnect from service
141 * after the PUT message was transmitted
142 * (so we don't know if it was received or not)
143 */ 138 */
144static void 139static void
145delay_dht_put_blocks (void *cls, int success) 140delay_dht_put_blocks (void *cls)
146{ 141{
147 struct PutOperator *po = cls; 142 struct PutOperator *po = cls;
148 143