fix for printing address
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 14 Jan 2014 09:38:02 +0000 (09:38 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 14 Jan 2014 09:38:02 +0000 (09:38 +0000)
src/transport/plugin_transport_udp.c

index 836cf2ad51d8eeb71e2f42a1d98dfb59cf67ba32..8f847b0eb7a390fd89f9d17a35cd4e91bf1a9b48 100644 (file)
@@ -1175,7 +1175,7 @@ udp_disconnect_session (void *cls, struct Session *s)
   GNUNET_assert(GNUNET_YES != s->in_destroy);
   LOG(GNUNET_ERROR_TYPE_DEBUG, "Session %p to peer `%s' address ended\n", s,
       GNUNET_i2s (&s->target),
-      GNUNET_a2s (s->address->address, s->address->address_length));
+      udp_address_to_string (NULL, s->address->address, s->address->address_length));
   /* stop timeout task */
   if (GNUNET_SCHEDULER_NO_TASK != s->timeout_task)
   {