diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-23 16:30:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-23 16:30:45 +0000 |
commit | 021e5d47b4ac2fd2088cee65e551fd7e6114e99b (patch) | |
tree | 703829ff172d75f5417e42041ed4694a53d10e71 /src/fs/gnunet-service-fs_put.c | |
parent | c1bac2613d2e7915ab23c3675918aa839514bd97 (diff) | |
download | gnunet-021e5d47b4ac2fd2088cee65e551fd7e6114e99b.tar.gz gnunet-021e5d47b4ac2fd2088cee65e551fd7e6114e99b.zip |
convert DHT API to new MQ API
Diffstat (limited to 'src/fs/gnunet-service-fs_put.c')
-rw-r--r-- | src/fs/gnunet-service-fs_put.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/fs/gnunet-service-fs_put.c b/src/fs/gnunet-service-fs_put.c index 045b640db..3517c7b24 100644 --- a/src/fs/gnunet-service-fs_put.c +++ b/src/fs/gnunet-service-fs_put.c | |||
@@ -199,9 +199,14 @@ process_dht_put_content (void *cls, | |||
199 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 199 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
200 | "Retrieved block `%s' of type %u for DHT PUT\n", GNUNET_h2s (key), | 200 | "Retrieved block `%s' of type %u for DHT PUT\n", GNUNET_h2s (key), |
201 | type); | 201 | type); |
202 | po->dht_put = GNUNET_DHT_put (GSF_dht, key, DEFAULT_PUT_REPLICATION, | 202 | po->dht_put = GNUNET_DHT_put (GSF_dht, |
203 | GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE, type, size, data, | 203 | key, |
204 | expiration, GNUNET_TIME_UNIT_FOREVER_REL, | 204 | DEFAULT_PUT_REPLICATION, |
205 | GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE, | ||
206 | type, | ||
207 | size, | ||
208 | data, | ||
209 | expiration, | ||
205 | &delay_dht_put_blocks, po); | 210 | &delay_dht_put_blocks, po); |
206 | } | 211 | } |
207 | 212 | ||