You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
*/
/**
return TRANSPORT_SESSION_INBOUND_STRING; /* Addresse with length 0 are inbound, address->address itself may be NULL */
api = GST_plugins_printer_find (address->transport_name);
if (NULL == api)
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Failed to find transport plugin `%s'\n",
+ address->transport_name);
return "<plugin unknown>";
+ }
if (0 == address->address_length)
{
- GNUNET_snprintf (unable_to_show, sizeof (unable_to_show),
+ GNUNET_snprintf (unable_to_show,
+ sizeof (unable_to_show),
"<unable to stringify %u-byte long address of %s transport>",
(unsigned int) address->address_length,
address->transport_name);
return unable_to_show;
}
- return (NULL != (s = api->address_to_string (NULL, address->address,
- address->address_length)) ? s : "<invalid>");
+ return (NULL != (s = api->address_to_string (NULL,
+ address->address,
+ address->address_length))
+ ? s
+ : "<invalid>");
}