diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_plugins.c')
-rw-r--r-- | src/transport/gnunet-service-transport_plugins.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/transport/gnunet-service-transport_plugins.c b/src/transport/gnunet-service-transport_plugins.c index 44e6a2a65..e8b795f9d 100644 --- a/src/transport/gnunet-service-transport_plugins.c +++ b/src/transport/gnunet-service-transport_plugins.c | |||
@@ -356,10 +356,7 @@ GST_plugins_a2s (const struct GNUNET_HELLO_Address *address) | |||
356 | static const char *s; | 356 | static const char *s; |
357 | 357 | ||
358 | if (NULL == address) | 358 | if (NULL == address) |
359 | { | 359 | return "<NULL>"; |
360 | GNUNET_break (0); /* a HELLO address cannot be NULL */ | ||
361 | return "<invalid>"; | ||
362 | } | ||
363 | if (0 == address->address_length) | 360 | if (0 == address->address_length) |
364 | return TRANSPORT_SESSION_INBOUND_STRING; /* Addresse with length 0 are inbound, address->address itself may be NULL */ | 361 | return TRANSPORT_SESSION_INBOUND_STRING; /* Addresse with length 0 are inbound, address->address itself may be NULL */ |
365 | api = GST_plugins_printer_find (address->transport_name); | 362 | api = GST_plugins_printer_find (address->transport_name); |