diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-24 23:45:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-24 23:45:27 +0000 |
commit | c345383f56aa7d7da19fcd129ab0974c16ed92bc (patch) | |
tree | 7de83a21b8562653602430736b7ecf3cdb09eba0 /src/fs/gnunet-service-fs_put.c | |
parent | 5a9231ed9630c600cc2da70354692d74fe66329d (diff) | |
download | gnunet-c345383f56aa7d7da19fcd129ab0974c16ed92bc.tar.gz gnunet-c345383f56aa7d7da19fcd129ab0974c16ed92bc.zip |
actually using stream for dblock/iblock transfer if possible
Diffstat (limited to 'src/fs/gnunet-service-fs_put.c')
-rw-r--r-- | src/fs/gnunet-service-fs_put.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fs/gnunet-service-fs_put.c b/src/fs/gnunet-service-fs_put.c index e4b13edab..49962d314 100644 --- a/src/fs/gnunet-service-fs_put.c +++ b/src/fs/gnunet-service-fs_put.c | |||
@@ -180,8 +180,11 @@ delay_dht_put_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
180 | * maybe 0 if no unique identifier is available | 180 | * maybe 0 if no unique identifier is available |
181 | */ | 181 | */ |
182 | static void | 182 | static void |
183 | process_dht_put_content (void *cls, const struct GNUNET_HashCode * key, size_t size, | 183 | process_dht_put_content (void *cls, |
184 | const void *data, enum GNUNET_BLOCK_Type type, | 184 | const struct GNUNET_HashCode * key, |
185 | size_t size, | ||
186 | const void *data, | ||
187 | enum GNUNET_BLOCK_Type type, | ||
185 | uint32_t priority, uint32_t anonymity, | 188 | uint32_t priority, uint32_t anonymity, |
186 | struct GNUNET_TIME_Absolute expiration, uint64_t uid) | 189 | struct GNUNET_TIME_Absolute expiration, uint64_t uid) |
187 | { | 190 | { |