diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-18 14:50:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-18 14:50:33 +0000 |
commit | 352c6c0da07467c8aef266565df01a2844016a3e (patch) | |
tree | 1326c3d43d7fd4c5c4000ed02621655ce4eb8085 /src/fs/gnunet-publish.c | |
parent | 45a1b1ceca389f0db1f88b7cf7dd52587647fd8d (diff) | |
download | gnunet-352c6c0da07467c8aef266565df01a2844016a3e.tar.gz gnunet-352c6c0da07467c8aef266565df01a2844016a3e.zip |
-debugging gnunet-auto-share, now largely works
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r-- | src/fs/gnunet-publish.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index ef48f2d92..96dcfbf69 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "gnunet_fs_service.h" | 29 | #include "gnunet_fs_service.h" |
30 | 30 | ||
31 | static int ret; | 31 | static int ret = 1; |
32 | 32 | ||
33 | static int verbose; | 33 | static int verbose; |
34 | 34 | ||
@@ -177,6 +177,7 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info) | |||
177 | } | 177 | } |
178 | kill_task = GNUNET_SCHEDULER_add_now (&do_stop_task, NULL); | 178 | kill_task = GNUNET_SCHEDULER_add_now (&do_stop_task, NULL); |
179 | } | 179 | } |
180 | ret = 0; | ||
180 | break; | 181 | break; |
181 | case GNUNET_FS_STATUS_PUBLISH_STOPPED: | 182 | case GNUNET_FS_STATUS_PUBLISH_STOPPED: |
182 | GNUNET_break (NULL == pc); | 183 | GNUNET_break (NULL == pc); |