aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo-tool/plugin_rest_peerinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo-tool/plugin_rest_peerinfo.c')
-rw-r--r--src/peerinfo-tool/plugin_rest_peerinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peerinfo-tool/plugin_rest_peerinfo.c b/src/peerinfo-tool/plugin_rest_peerinfo.c
index 99cec7e58..4bbc7442e 100644
--- a/src/peerinfo-tool/plugin_rest_peerinfo.c
+++ b/src/peerinfo-tool/plugin_rest_peerinfo.c
@@ -554,9 +554,9 @@ print_address (void *cls,
554 ar->pc = pc; 554 ar->pc = pc;
555 ar->expiration = expiration; 555 ar->expiration = expiration;
556 GNUNET_asprintf (&ar->result, 556 GNUNET_asprintf (&ar->result,
557 "%s:%u:%u", 557 "%s:%lu:%u",
558 address->transport_name, 558 address->transport_name,
559 address->address_length, 559 (unsigned long) address->address_length,
560 address->local_info); 560 address->local_info);
561 ar->atsc = GNUNET_TRANSPORT_address_to_string (cfg, 561 ar->atsc = GNUNET_TRANSPORT_address_to_string (cfg,
562 address, 562 address,