projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
133eed3
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Fri, 2 Apr 2010 15:32:00 +0000
(15:32 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 2 Apr 2010 15:32:00 +0000
(15:32 +0000)
src/fs/fs_download.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_download.c
b/src/fs/fs_download.c
index 358b222aa5028a2c637016295ce397b9bb575fd0..89d82251be4e74a7a530e10b108240b8c8b902fb 100644
(file)
--- 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;
}