-fix
authorChristian Grothoff <christian@grothoff.org>
Thu, 8 Mar 2012 19:29:59 +0000 (19:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 8 Mar 2012 19:29:59 +0000 (19:29 +0000)
src/peerinfo-tool/gnunet-peerinfo.c

index 41bc3a43ad54a4fb9180d430e12104e893d37c33..4ffb61b351d854d36bbc090b3475687ef9e4e88f 100644 (file)
@@ -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,