aboutsummaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-04-02 15:32:00 +0000
committerChristian Grothoff <christian@grothoff.org>2010-04-02 15:32:00 +0000
commit45b4202e8d6dfaea53ccb66f4f26a37dc7f44eb8 (patch)
tree5adbbfc931ba5313a07372fb51680e72948325dc /src/fs
parent133eed3e2375b3032e9134d7ab16a936d09c98ac (diff)
downloadgnunet-45b4202e8d6dfaea53ccb66f4f26a37dc7f44eb8.tar.gz
gnunet-45b4202e8d6dfaea53ccb66f4f26a37dc7f44eb8.zip
fix
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/fs_download.c4
1 files 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,
409 us = GNUNET_FS_uri_to_string (uri); 409 us = GNUNET_FS_uri_to_string (uri);
410 GNUNET_asprintf (&fn, 410 GNUNET_asprintf (&fn,
411 "%s%s", 411 "%s%s",
412 us, ext); 412 &us[strlen (GNUNET_FS_URI_PREFIX
413 GNUNET_FS_URI_CHK_INFIX)], ext);
413 GNUNET_free (ext); 414 GNUNET_free (ext);
414 GNUNET_free (us); 415 GNUNET_free (us);
415 } 416 }
@@ -1114,7 +1115,6 @@ GNUNET_FS_download_start (struct GNUNET_FS_Handle *h,
1114 GNUNET_CONTAINER_meta_data_destroy (dc->meta); 1115 GNUNET_CONTAINER_meta_data_destroy (dc->meta);
1115 GNUNET_FS_uri_destroy (dc->uri); 1116 GNUNET_FS_uri_destroy (dc->uri);
1116 GNUNET_free (dc->filename); 1117 GNUNET_free (dc->filename);
1117 GNUNET_CLIENT_disconnect (dc->client, GNUNET_NO);
1118 GNUNET_free (dc); 1118 GNUNET_free (dc);
1119 return NULL; 1119 return NULL;
1120 } 1120 }