diff options
Diffstat (limited to 'src/peerinfo-tool')
-rw-r--r-- | src/peerinfo-tool/gnunet-peerinfo.c | 4 |
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 | |||
679 | add_continuation (void *cls, | 679 | add_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); |