aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo-tool
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-03 11:35:36 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-03 11:35:36 +0000
commit5fed535a3e841e0c317506db8a698b65a4b4cf28 (patch)
tree4e0f1332ac528110a93644996efd48a15c44d245 /src/peerinfo-tool
parented03501d4f67d8acef116c6609393cca28923cd0 (diff)
downloadgnunet-5fed535a3e841e0c317506db8a698b65a4b4cf28.tar.gz
gnunet-5fed535a3e841e0c317506db8a698b65a4b4cf28.zip
-fix
Diffstat (limited to 'src/peerinfo-tool')
-rw-r--r--src/peerinfo-tool/gnunet-peerinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c
index d450bf748..de27cd276 100644
--- a/src/peerinfo-tool/gnunet-peerinfo.c
+++ b/src/peerinfo-tool/gnunet-peerinfo.c
@@ -679,7 +679,7 @@ static void
679add_continuation (void *cls, 679add_continuation (void *cls,
680 const char *emsg) 680 const char *emsg)
681{ 681{
682 ai = NULL; 682 ac = NULL;
683 if (NULL != emsg) 683 if (NULL != emsg)
684 fprintf (stderr, 684 fprintf (stderr,
685 _("Failure adding HELLO: %s\n"), 685 _("Failure adding HELLO: %s\n"),
@@ -723,7 +723,7 @@ parse_hello_uri (const char *put_uri)
723 { 723 {
724 /* WARNING: this adds the address from URI WITHOUT verification! */ 724 /* WARNING: this adds the address from URI WITHOUT verification! */
725 if (GNUNET_OK == ctx.ret) 725 if (GNUNET_OK == ctx.ret)
726 ac = GNUNET_PEERINFO_add_peer (peerinfo, hello, NULL, NULL); 726 ac = GNUNET_PEERINFO_add_peer (peerinfo, hello, &add_continuation, NULL);
727 else 727 else
728 tt = GNUNET_SCHEDULER_add_now (&state_machine, NULL); 728 tt = GNUNET_SCHEDULER_add_now (&state_machine, NULL);
729 GNUNET_free (hello); 729 GNUNET_free (hello);