From 8ecefbf6920b5b59dbe5575246cf076b95226fac Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 2 May 2012 19:46:48 +0000 Subject: [PATCH] -improving error reporting on #2295 --- src/peerinfo-tool/gnunet-peerinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) if (GNUNET_OK != papi->string_to_address (papi->cls, plugin_address, - strlen (plugin_address), + strlen (plugin_address) + 1, &addr, &addr_len)) { -- 2.25.1