From: Christian Grothoff Date: Tue, 6 Mar 2012 06:20:54 +0000 (+0000) Subject: -LRN: fix peerinfo initialization X-Git-Tag: initial-import-from-subversion-38251~14408 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d95cb5451bf787605502ee416f0bfb6b006083ad;p=oweals%2Fgnunet.git -LRN: fix peerinfo initialization --- 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, FPRINTF (stderr, "%s", _("--put-uri and --get-uri are mutually exclusive\n")); return; } - if (put_uri != NULL || get_uri == GNUNET_YES) + if (put_uri != NULL || get_uri == GNUNET_YES || get_self != GNUNET_YES) { peerinfo = GNUNET_PEERINFO_connect (cfg); if (peerinfo == NULL)