diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-25 19:33:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-25 19:33:17 +0000 |
commit | 013778533273494f054ec1aa6084fe72d9d1e1c7 (patch) | |
tree | 4ea2f92c863cb630e713e1e626018a0018db52a9 /src/fs/fs_unindex.c | |
parent | 99bb34bf91253eb90fd1bc900af88580c6461e53 (diff) | |
download | gnunet-013778533273494f054ec1aa6084fe72d9d1e1c7.tar.gz gnunet-013778533273494f054ec1aa6084fe72d9d1e1c7.zip |
API fix
Diffstat (limited to 'src/fs/fs_unindex.c')
-rw-r--r-- | src/fs/fs_unindex.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c index 0374e1db2..10faf4cf9 100644 --- a/src/fs/fs_unindex.c +++ b/src/fs/fs_unindex.c | |||
@@ -390,11 +390,13 @@ process_hash (void *cls, | |||
390 | * | 390 | * |
391 | * @param h handle to the file sharing subsystem | 391 | * @param h handle to the file sharing subsystem |
392 | * @param filename file to unindex | 392 | * @param filename file to unindex |
393 | * @param cctx initial value for the client context | ||
393 | * @return NULL on error, otherwise handle | 394 | * @return NULL on error, otherwise handle |
394 | */ | 395 | */ |
395 | struct GNUNET_FS_UnindexContext * | 396 | struct GNUNET_FS_UnindexContext * |
396 | GNUNET_FS_unindex_start (struct GNUNET_FS_Handle *h, | 397 | GNUNET_FS_unindex_start (struct GNUNET_FS_Handle *h, |
397 | const char *filename) | 398 | const char *filename, |
399 | void *cctx) | ||
398 | { | 400 | { |
399 | struct GNUNET_FS_UnindexContext *ret; | 401 | struct GNUNET_FS_UnindexContext *ret; |
400 | struct GNUNET_FS_ProgressInfo pi; | 402 | struct GNUNET_FS_ProgressInfo pi; |
@@ -410,6 +412,7 @@ GNUNET_FS_unindex_start (struct GNUNET_FS_Handle *h, | |||
410 | ret->filename = GNUNET_strdup (filename); | 412 | ret->filename = GNUNET_strdup (filename); |
411 | ret->start_time = GNUNET_TIME_absolute_get (); | 413 | ret->start_time = GNUNET_TIME_absolute_get (); |
412 | ret->file_size = size; | 414 | ret->file_size = size; |
415 | ret->client_info = cctx; | ||
413 | 416 | ||
414 | // FIXME: make persistent! | 417 | // FIXME: make persistent! |
415 | pi.status = GNUNET_FS_STATUS_UNINDEX_START; | 418 | pi.status = GNUNET_FS_STATUS_UNINDEX_START; |