diff options
Diffstat (limited to 'src/peerinfo-tool/gnunet-peerinfo.c')
-rw-r--r-- | src/peerinfo-tool/gnunet-peerinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c index 3aded8eea..ab5a15730 100644 --- a/src/peerinfo-tool/gnunet-peerinfo.c +++ b/src/peerinfo-tool/gnunet-peerinfo.c | |||
@@ -640,7 +640,7 @@ add_address_to_hello (void *cls, size_t max, void *buffer) | |||
640 | if (GNUNET_OK != | 640 | if (GNUNET_OK != |
641 | papi->string_to_address (papi->cls, | 641 | papi->string_to_address (papi->cls, |
642 | plugin_address, | 642 | plugin_address, |
643 | strlen (plugin_address), | 643 | strlen (plugin_address) + 1, |
644 | &addr, | 644 | &addr, |
645 | &addr_len)) | 645 | &addr_len)) |
646 | { | 646 | { |