fix
[oweals/gnunet.git] / src / fs / test_fs_test_lib.c
index aad4557f94d5ab43d802865f9c8b11e7b3716fa8..da00e6e5e2b3c0ab464ebf0bf12bf2c948943469 100644 (file)
@@ -73,7 +73,7 @@ static void
 do_download (void *cls,
             const struct GNUNET_FS_Uri *uri)
 {
-  if ((NULL == uri)
+  if (NULL == uri)
     {
       GNUNET_break (0);
       GNUNET_SCHEDULER_add_now (sched,
@@ -105,6 +105,7 @@ do_publish (void *cls,
       GNUNET_SCHEDULER_add_now (sched,
                                &do_stop,
                                NULL);
+      return;
     }
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              "Publishing %llu bytes\n",