diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-08 19:29:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-08 19:29:59 +0000 |
commit | 047d98b0a1aff9535d294d2b038cefd209d90d2d (patch) | |
tree | 98d1ba20c95e8892e3477e2072bef74f11b1d591 /src/peerinfo-tool | |
parent | 5a663c3865727c909d6a1c05eef2a7e17a1c4bb4 (diff) | |
download | gnunet-047d98b0a1aff9535d294d2b038cefd209d90d2d.tar.gz gnunet-047d98b0a1aff9535d294d2b038cefd209d90d2d.zip |
-fix
Diffstat (limited to 'src/peerinfo-tool')
-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 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, | |||
458 | ctx.tmp_len = strlen (path_part); | 458 | ctx.tmp_len = strlen (path_part); |
459 | exc = strstr (ctx.tmp, "!"); | 459 | exc = strstr (ctx.tmp, "!"); |
460 | if (exc == NULL) | 460 | if (exc == NULL) |
461 | exc = ctx.pos + ctx.tmp_len; // FIXME-LRN: ctx.pos is uninitialized here! | 461 | exc = ctx.tmp + ctx.tmp_len; |
462 | ctx.pos = exc; | 462 | ctx.pos = exc; |
463 | 463 | ||
464 | std_result = GNUNET_STRINGS_string_to_data (ctx.tmp, exc - ctx.tmp, | 464 | std_result = GNUNET_STRINGS_string_to_data (ctx.tmp, exc - ctx.tmp, |