aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-04-15 14:40:14 +0000
committerChristian Grothoff <christian@grothoff.org>2010-04-15 14:40:14 +0000
commite0a67acc314214d919e4800295b154f3494dc4b1 (patch)
treeea77aaea1b84daf63e4cabeada2317c34121f0e6 /src/fs/fs_publish.c
parentd66499f75b73110696696fac91d9d53460a93377 (diff)
downloadgnunet-e0a67acc314214d919e4800295b154f3494dc4b1.tar.gz
gnunet-e0a67acc314214d919e4800295b154f3494dc4b1.zip
fix ttl underflow check
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r--src/fs/fs_publish.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c
index 0931b6829..79ffd1886 100644
--- a/src/fs/fs_publish.c
+++ b/src/fs/fs_publish.c
@@ -40,7 +40,7 @@
40#include "fs.h" 40#include "fs.h"
41#include "fs_tree.h" 41#include "fs_tree.h"
42 42
43#define DEBUG_PUBLISH GNUNET_NO 43#define DEBUG_PUBLISH GNUNET_YES
44 44
45/** 45/**
46 * Main function that performs the upload. 46 * Main function that performs the upload.
@@ -1080,8 +1080,6 @@ GNUNET_FS_publish_stop (struct GNUNET_FS_PublishContext *sc)
1080{ 1080{
1081 if (GNUNET_SCHEDULER_NO_TASK != sc->upload_task) 1081 if (GNUNET_SCHEDULER_NO_TASK != sc->upload_task)
1082 GNUNET_SCHEDULER_cancel (sc->h->sched, sc->upload_task); 1082 GNUNET_SCHEDULER_cancel (sc->h->sched, sc->upload_task);
1083 else
1084 GNUNET_assert (sc->all_done == GNUNET_YES);
1085 // FIXME: remove from persistence DB (?) --- think more about 1083 // FIXME: remove from persistence DB (?) --- think more about
1086 // shutdown / persistent-resume APIs!!! 1084 // shutdown / persistent-resume APIs!!!
1087 GNUNET_FS_file_information_inspect (sc->fi, 1085 GNUNET_FS_file_information_inspect (sc->fi,