From 45b4202e8d6dfaea53ccb66f4f26a37dc7f44eb8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 2 Apr 2010 15:32:00 +0000 Subject: [PATCH] fix --- src/fs/fs_download.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index 358b222aa..89d82251b 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c @@ -409,7 +409,8 @@ trigger_recursive_download (void *cls, us = GNUNET_FS_uri_to_string (uri); GNUNET_asprintf (&fn, "%s%s", - us, ext); + &us[strlen (GNUNET_FS_URI_PREFIX + GNUNET_FS_URI_CHK_INFIX)], ext); GNUNET_free (ext); GNUNET_free (us); } @@ -1114,7 +1115,6 @@ GNUNET_FS_download_start (struct GNUNET_FS_Handle *h, GNUNET_CONTAINER_meta_data_destroy (dc->meta); GNUNET_FS_uri_destroy (dc->uri); GNUNET_free (dc->filename); - GNUNET_CLIENT_disconnect (dc->client, GNUNET_NO); GNUNET_free (dc); return NULL; } -- 2.25.1