From: Christian Grothoff Date: Wed, 2 May 2012 19:46:48 +0000 (+0000) Subject: -improving error reporting on #2295 X-Git-Tag: initial-import-from-subversion-38251~13709 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8ecefbf6920b5b59dbe5575246cf076b95226fac;p=oweals%2Fgnunet.git -improving error reporting on #2295 --- 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)) {