aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_event-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_event-handler.c')
-rw-r--r--src/fs/gnunet-fs-gtk_event-handler.c21
1 files changed, 17 insertions, 4 deletions
diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c
index 098e1931..8660ba90 100644
--- a/src/fs/gnunet-fs-gtk_event-handler.c
+++ b/src/fs/gnunet-fs-gtk_event-handler.c
@@ -2945,7 +2945,12 @@ mark_download_progress (struct DownloadEntry *de,
2945 2945
2946 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 2946 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
2947 "Marking download progress for DE=%p, %llu/%llu, %llu@%llu depth=%u\n", 2947 "Marking download progress for DE=%p, %llu/%llu, %llu@%llu depth=%u\n",
2948 de, completed, size, block_size, offset, depth); 2948 de,
2949 (unsigned long long) completed,
2950 (unsigned long long) size,
2951 (unsigned long long) block_size,
2952 (unsigned long long) offset,
2953 depth);
2949 2954
2950 if (NULL != de->sr->tab) 2955 if (NULL != de->sr->tab)
2951 { 2956 {
@@ -3119,8 +3124,10 @@ setup_download (struct DownloadEntry *de,
3119 struct SearchResult *sr, 3124 struct SearchResult *sr,
3120 uint32_t anonymity, 3125 uint32_t anonymity,
3121 struct GNUNET_FS_DownloadContext *dc, 3126 struct GNUNET_FS_DownloadContext *dc,
3122 const struct GNUNET_FS_Uri *uri, const char *filename, 3127 const struct GNUNET_FS_Uri *uri,
3123 const struct GNUNET_CONTAINER_MetaData *meta, uint64_t size, 3128 const char *filename,
3129 const struct GNUNET_CONTAINER_MetaData *meta,
3130 uint64_t size,
3124 uint64_t completed) 3131 uint64_t completed)
3125{ 3132{
3126 GtkTreeIter iter; 3133 GtkTreeIter iter;
@@ -3129,7 +3136,13 @@ setup_download (struct DownloadEntry *de,
3129 3136
3130 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 3137 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
3131 "Setting up download, initially DE=%p, PDE=%p for %p & %p into %llu/%llu `%s'\n", 3138 "Setting up download, initially DE=%p, PDE=%p for %p & %p into %llu/%llu `%s'\n",
3132 de, pde, sr, dc, completed, size, filename); 3139 de,
3140 pde,
3141 sr,
3142 dc,
3143 (unsigned long long) completed,
3144 (unsigned long long) size,
3145 filename);
3133 GNUNET_assert (NULL != uri); 3146 GNUNET_assert (NULL != uri);
3134 if (NULL == de) 3147 if (NULL == de)
3135 { 3148 {