diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hello/hello.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hello/hello.c b/src/hello/hello.c index fc27e446b..44a1c55e9 100644 --- a/src/hello/hello.c +++ b/src/hello/hello.c | |||
@@ -864,9 +864,10 @@ GNUNET_HELLO_compose_uri (const struct GNUNET_HELLO_Message *hello, | |||
864 | ctx.plugins_find = plugins_find; | 864 | ctx.plugins_find = plugins_find; |
865 | 865 | ||
866 | char *pkey = GNUNET_CRYPTO_ecc_public_key_to_string (&(hello->publicKey)); | 866 | char *pkey = GNUNET_CRYPTO_ecc_public_key_to_string (&(hello->publicKey)); |
867 | |||
867 | GNUNET_asprintf (&(ctx.uri), | 868 | GNUNET_asprintf (&(ctx.uri), |
868 | "%s%s", | 869 | "%s%s", |
869 | GNUNET_HELLO_URI_PREFIX, | 870 | (GNUNET_YES == GNUNET_HELLO_is_friend_only (hello)) ? GNUNET_FRIEND_HELLO_URI_PREFIX : GNUNET_HELLO_URI_PREFIX, |
870 | pkey); | 871 | pkey); |
871 | GNUNET_free (pkey); | 872 | GNUNET_free (pkey); |
872 | 873 | ||