[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26778 - gnunet/src/peerinfo-tool
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26778 - gnunet/src/peerinfo-tool |
Date: |
Fri, 5 Apr 2013 15:16:03 +0200 |
Author: wachs
Date: 2013-04-05 15:16:03 +0200 (Fri, 05 Apr 2013)
New Revision: 26778
Modified:
gnunet/src/peerinfo-tool/gnunet-peerinfo.c
Log:
fix
Modified: gnunet/src/peerinfo-tool/gnunet-peerinfo.c
===================================================================
--- gnunet/src/peerinfo-tool/gnunet-peerinfo.c 2013-04-05 13:07:37 UTC (rev
26777)
+++ gnunet/src/peerinfo-tool/gnunet-peerinfo.c 2013-04-05 13:16:03 UTC (rev
26778)
@@ -347,7 +347,9 @@
tt = GNUNET_SCHEDULER_add_now (&state_machine, NULL);
return;
}
- friend_only = GNUNET_HELLO_is_friend_only (hello);
+ friend_only = GNUNET_NO;
+ if (NULL != hello)
+ friend_only = GNUNET_HELLO_is_friend_only (hello);
if ((GNUNET_YES == be_quiet) || (NULL == hello))
{
GNUNET_CRYPTO_hash_to_enc (&peer->hashPubKey, &enc);
@@ -407,7 +409,6 @@
if (NULL == hello)
return;
-
char *uri = GNUNET_HELLO_compose_uri(hello, &GPI_plugins_find);
if (NULL != uri) {
printf ("%s\n", (const char *) uri);
@@ -643,7 +644,7 @@
if (GNUNET_YES == get_uri)
{
GPI_plugins_load (cfg);
- pic = GNUNET_PEERINFO_iterate (peerinfo,include_friend_only,
&my_peer_identity,
+ pic = GNUNET_PEERINFO_iterate (peerinfo, GNUNET_YES, &my_peer_identity,
TIMEOUT, &print_my_uri, NULL);
get_uri = GNUNET_NO;
return;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26778 - gnunet/src/peerinfo-tool,
gnunet <=