diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-06 06:20:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-06 06:20:54 +0000 |
commit | d95cb5451bf787605502ee416f0bfb6b006083ad (patch) | |
tree | 5a7e1de516040819b730322341b72d41ddee07f7 /src/peerinfo-tool | |
parent | 5cf995902264fea023a371d66004ae5a52341093 (diff) | |
download | gnunet-d95cb5451bf787605502ee416f0bfb6b006083ad.tar.gz gnunet-d95cb5451bf787605502ee416f0bfb6b006083ad.zip |
-LRN: fix peerinfo initialization
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 b3af29944..22df4f7a1 100644 --- a/src/peerinfo-tool/gnunet-peerinfo.c +++ b/src/peerinfo-tool/gnunet-peerinfo.c | |||
@@ -539,7 +539,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
539 | FPRINTF (stderr, "%s", _("--put-uri and --get-uri are mutually exclusive\n")); | 539 | FPRINTF (stderr, "%s", _("--put-uri and --get-uri are mutually exclusive\n")); |
540 | return; | 540 | return; |
541 | } | 541 | } |
542 | if (put_uri != NULL || get_uri == GNUNET_YES) | 542 | if (put_uri != NULL || get_uri == GNUNET_YES || get_self != GNUNET_YES) |
543 | { | 543 | { |
544 | peerinfo = GNUNET_PEERINFO_connect (cfg); | 544 | peerinfo = GNUNET_PEERINFO_connect (cfg); |
545 | if (peerinfo == NULL) | 545 | if (peerinfo == NULL) |