aboutsummaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-09 12:24:18 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-09 12:24:18 +0000
commit1820c8cd5075a78f1766be607f938f7a77d61e00 (patch)
treef1d75f690245d84d33a15d45c392f3ecae39462b /src/fs
parent0469252aa72449600e92cea94c16f9fb44eab059 (diff)
downloadgnunet-1820c8cd5075a78f1766be607f938f7a77d61e00.tar.gz
gnunet-1820c8cd5075a78f1766be607f938f7a77d61e00.zip
fix
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/fs_publish.c9
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