aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/gnunet-daemon-hostlist.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
commit83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch)
treed0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/hostlist/gnunet-daemon-hostlist.c
parent28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff)
downloadgnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.tar.gz
gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.zip
curly wars / auto-indentation
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist.c')
-rw-r--r--src/hostlist/gnunet-daemon-hostlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c
index 2ef807444..b0fb03e29 100644
--- a/src/hostlist/gnunet-daemon-hostlist.c
+++ b/src/hostlist/gnunet-daemon-hostlist.c
@@ -143,7 +143,7 @@ static int
143advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer, 143advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
144 const struct GNUNET_MessageHeader *message, 144 const struct GNUNET_MessageHeader *message,
145 const struct GNUNET_ATS_Information *atsi, 145 const struct GNUNET_ATS_Information *atsi,
146 unsigned int atsi_count) 146 unsigned int atsi_count)
147{ 147{
148 GNUNET_assert (NULL != client_adv_handler); 148 GNUNET_assert (NULL != client_adv_handler);
149 return (*client_adv_handler) (cls, peer, message, atsi, atsi_count); 149 return (*client_adv_handler) (cls, peer, message, atsi, atsi_count);
@@ -161,7 +161,7 @@ advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
161static void 161static void
162connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer, 162connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
163 const struct GNUNET_ATS_Information *atsi, 163 const struct GNUNET_ATS_Information *atsi,
164 unsigned int atsi_count) 164 unsigned int atsi_count)
165{ 165{
166 if (0 == memcmp (&me, peer, sizeof (struct GNUNET_PeerIdentity))) 166 if (0 == memcmp (&me, peer, sizeof (struct GNUNET_PeerIdentity)))
167 return; 167 return;