[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: indentation
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: indentation |
Date: |
Thu, 28 Jun 2018 00:45:37 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new b5b8184a3 indentation
b5b8184a3 is described below
commit b5b8184a326352877d97be10ef3812dd760e5d2f
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Jun 28 00:45:35 2018 +0200
indentation
---
src/cadet/gnunet-service-cadet.c | 12 +++---------
src/cadet/gnunet-service-cadet_peer.c | 2 ++
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/src/cadet/gnunet-service-cadet.c b/src/cadet/gnunet-service-cadet.c
index dd693731f..d61556785 100644
--- a/src/cadet/gnunet-service-cadet.c
+++ b/src/cadet/gnunet-service-cadet.c
@@ -927,29 +927,23 @@ get_peer_info (void *cls,
struct CadetClient *c = cls;
struct GNUNET_MQ_Envelope *env;
struct GNUNET_CADET_LocalInfoPeer *msg;
-
env = GNUNET_MQ_msg (msg,
GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_PEER);
-
msg->offset = htons(0);
msg->destination = *peer;
msg->paths = htons (GCP_count_paths (p));
msg->tunnel = htons (NULL != GCP_get_tunnel (p,
GNUNET_NO));
msg->finished_with_paths = htons(0);
-
GNUNET_MQ_send (c->mq,
env);
-
- GCP_iterate_indirect_paths(p,
- &path_info_iterator,
- c->mq);
-
+ GCP_iterate_indirect_paths (p,
+ &path_info_iterator,
+ c->mq);
}
-
/**
* Handler for client's SHOW_PEER request.
*
diff --git a/src/cadet/gnunet-service-cadet_peer.c
b/src/cadet/gnunet-service-cadet_peer.c
index ac1ee59de..bd642f155 100644
--- a/src/cadet/gnunet-service-cadet_peer.c
+++ b/src/cadet/gnunet-service-cadet_peer.c
@@ -1217,6 +1217,8 @@ GCP_iterate_paths (struct CadetPeer *cp,
(NULL == cp->core_mq) ? "" : " including direct link");
if (NULL != cp->core_mq)
{
+ /* FIXME: this branch seems to duplicate the
+ i=0 case below (direct link). Leave out!??? -CG */
struct CadetPeerPath *path;
path = GCPP_get_path_from_route (1,
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: indentation,
gnunet <=