aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo-tool
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-29 12:05:08 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-29 12:05:08 +0000
commite6a7426e11d0918811044e4d5476894323c37586 (patch)
tree1734f9a6b442c149ad818d814d10ffaaed4331cd /src/peerinfo-tool
parent75bebe4af5841951ef7d4dfe47b70c26da15fae1 (diff)
downloadgnunet-e6a7426e11d0918811044e4d5476894323c37586.tar.gz
gnunet-e6a7426e11d0918811044e4d5476894323c37586.zip
-enable 'hello' URIs for gnunet-uri
Diffstat (limited to 'src/peerinfo-tool')
-rw-r--r--src/peerinfo-tool/gnunet-peerinfo.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c
index ddadcddd2..b847c0f96 100644
--- a/src/peerinfo-tool/gnunet-peerinfo.c
+++ b/src/peerinfo-tool/gnunet-peerinfo.c
@@ -812,7 +812,14 @@ run (void *cls, char *const *args, const char *cfgfile,
812 char *fn; 812 char *fn;
813 813
814 cfg = c; 814 cfg = c;
815 if (NULL != args[0]) 815 if ( (NULL != args[0]) &&
816 (NULL == put_uri) &&
817 (args[0] == strcasestr (args[0], "gnunet://hello/")) )
818 {
819 put_uri = GNUNET_strdup (args[0]);
820 args++;
821 }
822 if (NULL != args[0])
816 { 823 {
817 FPRINTF (stderr, 824 FPRINTF (stderr,
818 _("Invalid command line argument `%s'\n"), 825 _("Invalid command line argument `%s'\n"),