diff options
Diffstat (limited to 'src/fs/gnunet-service-fs_indexing.c')
-rw-r--r-- | src/fs/gnunet-service-fs_indexing.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/fs/gnunet-service-fs_indexing.c b/src/fs/gnunet-service-fs_indexing.c index c7bff3a9d..ab3f77abe 100644 --- a/src/fs/gnunet-service-fs_indexing.c +++ b/src/fs/gnunet-service-fs_indexing.c | |||
@@ -228,8 +228,7 @@ signal_index_ok (struct IndexInfo *ii) | |||
228 | ("Index request received for file `%s' is already indexed as `%s'. Permitting anyway.\n"), | 228 | ("Index request received for file `%s' is already indexed as `%s'. Permitting anyway.\n"), |
229 | ii->filename, | 229 | ii->filename, |
230 | (const char *) GNUNET_CONTAINER_multihashmap_get (ifm, | 230 | (const char *) GNUNET_CONTAINER_multihashmap_get (ifm, |
231 | &ii-> | 231 | &ii->file_id)); |
232 | file_id)); | ||
233 | GNUNET_SERVER_transmit_context_append_data (ii->tc, NULL, 0, | 232 | GNUNET_SERVER_transmit_context_append_data (ii->tc, NULL, 0, |
234 | GNUNET_MESSAGE_TYPE_FS_INDEX_START_OK); | 233 | GNUNET_MESSAGE_TYPE_FS_INDEX_START_OK); |
235 | GNUNET_SERVER_transmit_context_run (ii->tc, GNUNET_TIME_UNIT_MINUTES); | 234 | GNUNET_SERVER_transmit_context_run (ii->tc, GNUNET_TIME_UNIT_MINUTES); |
@@ -447,8 +446,8 @@ GNUNET_FS_handle_unindex (void *cls, struct GNUNET_SERVER_Client *client, | |||
447 | prev->next = next; | 446 | prev->next = next; |
448 | GNUNET_break (GNUNET_OK == | 447 | GNUNET_break (GNUNET_OK == |
449 | GNUNET_CONTAINER_multihashmap_remove (ifm, &pos->file_id, | 448 | GNUNET_CONTAINER_multihashmap_remove (ifm, &pos->file_id, |
450 | (void *) pos-> | 449 | (void *) |
451 | filename)); | 450 | pos->filename)); |
452 | GNUNET_free (pos); | 451 | GNUNET_free (pos); |
453 | found = GNUNET_YES; | 452 | found = GNUNET_YES; |
454 | } | 453 | } |