if (NULL == addr)
return NULL;
if (0 == addrlen)
- return "<inbound>";
+ return TRANSPORT_SESSION_INBOUND_STRING;
if (addrlen != http_common_address_get_size (address))
return NULL;
addr_str = (char *) &address[1];
address = NULL;
plugin = NULL;
optionstr = NULL;
- options = 0;
if ((NULL == addr) || (addrlen == 0))
{
GNUNET_break (0);
}
optionstr[0] = '\0';
optionstr ++;
- options = atol (optionstr);
+ options = atol (optionstr); /* 0 on conversion error, that's ok */
address = strchr (optionstr, '.');
if (NULL == address)
{