From: Christian Grothoff Date: Thu, 8 Mar 2012 19:29:59 +0000 (+0000) Subject: -fix X-Git-Tag: initial-import-from-subversion-38251~14336 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=047d98b0a1aff9535d294d2b038cefd209d90d2d;p=oweals%2Fgnunet.git -fix --- diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c index 41bc3a43a..4ffb61b35 100644 --- a/src/peerinfo-tool/gnunet-peerinfo.c +++ b/src/peerinfo-tool/gnunet-peerinfo.c @@ -458,7 +458,7 @@ parse_hello (const struct GNUNET_CONFIGURATION_Handle *c, ctx.tmp_len = strlen (path_part); exc = strstr (ctx.tmp, "!"); if (exc == NULL) - exc = ctx.pos + ctx.tmp_len; // FIXME-LRN: ctx.pos is uninitialized here! + exc = ctx.tmp + ctx.tmp_len; ctx.pos = exc; std_result = GNUNET_STRINGS_string_to_data (ctx.tmp, exc - ctx.tmp,