diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-20 13:18:30 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-20 13:18:30 +0100 |
commit | 5246093bf9f9bb7f16dc1e1e66eadb21363fb1a0 (patch) | |
tree | 57fc600480a0d137e9ef342c418d9a313b16db22 /src | |
parent | 88a9a5beab50429901faf8f196e785f39f4da8d7 (diff) | |
download | gnunet-5246093bf9f9bb7f16dc1e1e66eadb21363fb1a0.tar.gz gnunet-5246093bf9f9bb7f16dc1e1e66eadb21363fb1a0.zip |
fix #5073
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/fs_dirmetascan.c | 8 | ||||
-rw-r--r-- | src/fs/gnunet-publish.c | 4 |
2 files changed, 3 insertions, 9 deletions
diff --git a/src/fs/fs_dirmetascan.c b/src/fs/fs_dirmetascan.c index 4a86a717f..115f99391 100644 --- a/src/fs/fs_dirmetascan.c +++ b/src/fs/fs_dirmetascan.c | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -332,10 +332,7 @@ process_helper_msgs (void *cls, | |||
332 | break; | 332 | break; |
333 | } | 333 | } |
334 | if (NULL == ds->toplevel) | 334 | if (NULL == ds->toplevel) |
335 | { | ||
336 | GNUNET_break (0); | ||
337 | break; | 335 | break; |
338 | } | ||
339 | ds->progress_callback (ds->progress_callback_cls, | 336 | ds->progress_callback (ds->progress_callback_cls, |
340 | NULL, GNUNET_SYSERR, | 337 | NULL, GNUNET_SYSERR, |
341 | GNUNET_FS_DIRSCANNER_ALL_COUNTED); | 338 | GNUNET_FS_DIRSCANNER_ALL_COUNTED); |
@@ -408,10 +405,7 @@ process_helper_msgs (void *cls, | |||
408 | break; | 405 | break; |
409 | } | 406 | } |
410 | if (NULL == ds->toplevel) | 407 | if (NULL == ds->toplevel) |
411 | { | ||
412 | GNUNET_break (0); | ||
413 | break; | 408 | break; |
414 | } | ||
415 | ds->stop_task = GNUNET_SCHEDULER_add_now (&finish_scan, | 409 | ds->stop_task = GNUNET_SCHEDULER_add_now (&finish_scan, |
416 | ds); | 410 | ds); |
417 | return GNUNET_OK; | 411 | return GNUNET_OK; |
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index a825795cb..eb8a7ed19 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -684,7 +684,7 @@ directory_scan_cb (void *cls, | |||
684 | case GNUNET_FS_DIRSCANNER_INTERNAL_ERROR: | 684 | case GNUNET_FS_DIRSCANNER_INTERNAL_ERROR: |
685 | FPRINTF (stdout, | 685 | FPRINTF (stdout, |
686 | "%s", | 686 | "%s", |
687 | _("Internal error scanning directory.\n")); | 687 | _("Error scanning directory.\n")); |
688 | ret = 1; | 688 | ret = 1; |
689 | GNUNET_SCHEDULER_shutdown (); | 689 | GNUNET_SCHEDULER_shutdown (); |
690 | break; | 690 | break; |