From 5246093bf9f9bb7f16dc1e1e66eadb21363fb1a0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 20 Feb 2019 13:18:30 +0100 Subject: fix #5073 --- src/fs/fs_dirmetascan.c | 8 +------- src/fs/gnunet-publish.c | 4 ++-- 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'src/fs') 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 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . @@ -332,10 +332,7 @@ process_helper_msgs (void *cls, break; } if (NULL == ds->toplevel) - { - GNUNET_break (0); break; - } ds->progress_callback (ds->progress_callback_cls, NULL, GNUNET_SYSERR, GNUNET_FS_DIRSCANNER_ALL_COUNTED); @@ -408,10 +405,7 @@ process_helper_msgs (void *cls, break; } if (NULL == ds->toplevel) - { - GNUNET_break (0); break; - } ds->stop_task = GNUNET_SCHEDULER_add_now (&finish_scan, ds); 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 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . @@ -684,7 +684,7 @@ directory_scan_cb (void *cls, case GNUNET_FS_DIRSCANNER_INTERNAL_ERROR: FPRINTF (stdout, "%s", - _("Internal error scanning directory.\n")); + _("Error scanning directory.\n")); ret = 1; GNUNET_SCHEDULER_shutdown (); break; -- cgit v1.2.3