aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo-tool
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-08 18:17:31 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-08 18:17:31 +0000
commitb943b962c2c8601fc8d25ed7ed8cfad9d4bce55f (patch)
treeb54eefb7b66bb7d554974166b75cde9ba625c4b3 /src/peerinfo-tool
parent2364fb044717e3a514922cc7dc606ea55bb97cb8 (diff)
downloadgnunet-b943b962c2c8601fc8d25ed7ed8cfad9d4bce55f.tar.gz
gnunet-b943b962c2c8601fc8d25ed7ed8cfad9d4bce55f.zip
-a note to LRN
Diffstat (limited to 'src/peerinfo-tool')
-rw-r--r--src/peerinfo-tool/gnunet-peerinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c
index 22df4f7a1..d89682d1c 100644
--- a/src/peerinfo-tool/gnunet-peerinfo.c
+++ b/src/peerinfo-tool/gnunet-peerinfo.c
@@ -457,7 +457,7 @@ parse_hello (const struct GNUNET_CONFIGURATION_Handle *c,
457 ctx.tmp_len = strlen (path_part); 457 ctx.tmp_len = strlen (path_part);
458 exc = strstr (ctx.tmp, "!"); 458 exc = strstr (ctx.tmp, "!");
459 if (exc == NULL) 459 if (exc == NULL)
460 exc = ctx.pos + ctx.tmp_len; 460 exc = ctx.pos + ctx.tmp_len; // FIXME-LRN: ctx.pos is uninitialized here!
461 ctx.pos = exc; 461 ctx.pos = exc;
462 462
463 std_result = GNUNET_STRINGS_string_to_data (ctx.tmp, exc - ctx.tmp, 463 std_result = GNUNET_STRINGS_string_to_data (ctx.tmp, exc - ctx.tmp,