fix #5073
authorChristian Grothoff <christian@grothoff.org>
Wed, 20 Feb 2019 12:18:30 +0000 (13:18 +0100)
committerChristian Grothoff <christian@grothoff.org>
Wed, 20 Feb 2019 12:18:30 +0000 (13:18 +0100)
src/fs/fs_dirmetascan.c
src/fs/gnunet-publish.c

index 4a86a717f89ea324aa4a589bb30ce4030da93888..115f99391aa1c07f0ce7212ee0f25296b305a684 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
 
@@ -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;
index a825795cbbcd092a5ff48b47cf3a5e82e5488998..eb8a7ed19e082b2c7d3b6b5f3c99fc9d539f26b4 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
 
@@ -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;