GNUNET_free (plug->short_name);
GNUNET_free (plug->lib_name);
GNUNET_free (plug);
+ continue;
}
fail = GNUNET_NO;
if (NULL == plug->api->address_pretty_printer)
{
struct GNUNET_TRANSPORT_PluginFunctions *api;
static char unable_to_show[1024];
+ static const char *s;
if (address == NULL)
{
address->transport_name);
return unable_to_show;
}
- return api->address_to_string (NULL, address->address,
- address->address_length);
+ return (NULL != (s = api->address_to_string (NULL, address->address,
+ address->address_length)) ? s : "<invalid>");
}