summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-transport.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-17 16:23:52 +0000
committerChristian Grothoff <christian@grothoff.org>2015-01-17 16:23:52 +0000
commitb909588498cd93037c0b38e74ef89f4b004bacf8 (patch)
treefe1c1e085eea2021d2d71c28e1fd01494a45f2a5 /src/transport/gnunet-transport.c
parente9f9c753f2a9bdb198dbbe570ab47a94bacbad02 (diff)
do not print two messages, one is enough
Diffstat (limited to 'src/transport/gnunet-transport.c')
-rw-r--r--src/transport/gnunet-transport.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c
index 635213c29..f20e11852 100644
--- a/src/transport/gnunet-transport.c
+++ b/src/transport/gnunet-transport.c
@@ -694,21 +694,11 @@ display_test_result (struct TestContext *tc,
tc->name);
break;
default:
+ FPRINTF (stderr,
+ _("Configuration for plugin `%s' did not work!\n"),
+ tc->name);
break;
}
-
- if (GNUNET_YES != result)
- {
- FPRINTF (stderr,
- _("Configuration for plugin `%s' did not work!\n"),
- tc->name);
- }
- else
- {
- FPRINTF (stderr,
- _("Configuration for plugin `%s' is working!\n"),
- tc->name);
- }
if (NULL != tc->tsk)
{
GNUNET_SCHEDULER_cancel (tc->tsk);