[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26775 - gnunet/src/hello
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26775 - gnunet/src/hello |
Date: |
Fri, 5 Apr 2013 15:02:04 +0200 |
Author: wachs
Date: 2013-04-05 15:02:04 +0200 (Fri, 05 Apr 2013)
New Revision: 26775
Modified:
gnunet/src/hello/hello.c
Log:
print hello friend type
Modified: gnunet/src/hello/hello.c
===================================================================
--- gnunet/src/hello/hello.c 2013-04-05 12:40:15 UTC (rev 26774)
+++ gnunet/src/hello/hello.c 2013-04-05 13:02:04 UTC (rev 26775)
@@ -864,9 +864,10 @@
ctx.plugins_find = plugins_find;
char *pkey = GNUNET_CRYPTO_ecc_public_key_to_string (&(hello->publicKey));
+
GNUNET_asprintf (&(ctx.uri),
"%s%s",
- GNUNET_HELLO_URI_PREFIX,
+ (GNUNET_YES == GNUNET_HELLO_is_friend_only (hello)) ?
GNUNET_FRIEND_HELLO_URI_PREFIX : GNUNET_HELLO_URI_PREFIX,
pkey);
GNUNET_free (pkey);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26775 - gnunet/src/hello,
gnunet <=