diff options
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r-- | src/fs/fs_publish.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c index e44514ea4..2a0778b34 100644 --- a/src/fs/fs_publish.c +++ b/src/fs/fs_publish.c | |||
@@ -279,7 +279,7 @@ publish_sblocks_cont (void *cls, | |||
279 | pc->qre = GNUNET_DATASTORE_release_reserve (pc->dsh, | 279 | pc->qre = GNUNET_DATASTORE_release_reserve (pc->dsh, |
280 | pc->rid, | 280 | pc->rid, |
281 | UINT_MAX, | 281 | UINT_MAX, |
282 | UNIT_MAX, | 282 | UINT_MAX, |
283 | GNUNET_TIME_UNIT_FOREVER_REL, | 283 | GNUNET_TIME_UNIT_FOREVER_REL, |
284 | &finish_release_reserve, | 284 | &finish_release_reserve, |
285 | pc); | 285 | pc); |
@@ -1165,7 +1165,6 @@ finish_reserve (void *cls, | |||
1165 | const char *msg) | 1165 | const char *msg) |
1166 | { | 1166 | { |
1167 | struct GNUNET_FS_PublishContext *pc = cls; | 1167 | struct GNUNET_FS_PublishContext *pc = cls; |
1168 | struct GNUNET_FS_ProgressInfo pi; | ||
1169 | 1168 | ||
1170 | pc->qre = NULL; | 1169 | pc->qre = NULL; |
1171 | if ( (msg != NULL) || | 1170 | if ( (msg != NULL) || |
@@ -1180,11 +1179,11 @@ finish_reserve (void *cls, | |||
1180 | return; | 1179 | return; |
1181 | } | 1180 | } |
1182 | pc->rid = success; | 1181 | pc->rid = success; |
1183 | ret->upload_task | 1182 | pc->upload_task |
1184 | = GNUNET_SCHEDULER_add_with_priority (h->sched, | 1183 | = GNUNET_SCHEDULER_add_with_priority (pc->h->sched, |
1185 | GNUNET_SCHEDULER_PRIORITY_BACKGROUND, | 1184 | GNUNET_SCHEDULER_PRIORITY_BACKGROUND, |
1186 | &GNUNET_FS_publish_main_, | 1185 | &GNUNET_FS_publish_main_, |
1187 | ret); | 1186 | pc); |
1188 | } | 1187 | } |
1189 | 1188 | ||
1190 | 1189 | ||