diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-04-05 13:02:04 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-04-05 13:02:04 +0000 |
commit | f47fed8e1a5763ab4b36cd19ab4cecbe22a3d281 (patch) | |
tree | d28068edf54123e69753d569a067e7ee9b254f80 | |
parent | b7b9aa01111acd66b8f22cb9d4c10edfaf999a03 (diff) | |
download | gnunet-f47fed8e1a5763ab4b36cd19ab4cecbe22a3d281.tar.gz gnunet-f47fed8e1a5763ab4b36cd19ab4cecbe22a3d281.zip |
print hello friend type
-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 | ||