GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Received sugggestion for peer `%s'\n",
- GNUNET_i2s (&address->peer));
+ GNUNET_i2s (peer));
GNUNET_SCHEDULER_add_now (&end, NULL);
}
struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in)
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Received a sugggestion for peer `%s' : `%s'\n",
- GNUNET_i2s (&address->peer), (char *) address->address);
-
+ "Received a sugggestion for peer `%s'\n",
+ GNUNET_i2s (peer));
if (GNUNET_NO == first_address_suggested)
{
if (NULL == first_suggestion)
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Received 1st sugggestion for peer `%s' : `%s'\n",
- GNUNET_i2s (&address->peer), (char *) address->address);
+ GNUNET_i2s (&address->peer), (char *) address->address);
first_suggestion = GNUNET_HELLO_address_copy (address);
first_address_suggested = GNUNET_YES;
GNUNET_assert (ntohl(bandwidth_out.value__) > 0);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Received sugggestion for peer `%s', deleting address\n",
- GNUNET_i2s (&address->peer));
+ "Received sugggestion for peer `%s', deleting address\n",
+ GNUNET_i2s (&address->peer));
address_deleted = GNUNET_YES;
/* Destroying address and wait for disconnect suggestion */
GNUNET_ATS_address_destroy (ar);
else
{
/* Expecting disconnect */
-
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Received sugggestion for peer `%s': %u %u\n",
- GNUNET_i2s (&address->peer),
+ GNUNET_i2s (peer),
(unsigned int) ntohl (bandwidth_in.value__),
(unsigned int) ntohl (bandwidth_out.value__));