diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
commit | 83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch) | |
tree | d0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/core/test_core_api_start_only.c | |
parent | 28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff) | |
download | gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.tar.gz gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.zip |
curly wars / auto-indentation
Diffstat (limited to 'src/core/test_core_api_start_only.c')
-rw-r--r-- | src/core/test_core_api_start_only.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c index f27866c19..b06b97899 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c | |||
@@ -68,7 +68,7 @@ static int ok; | |||
68 | static void | 68 | static void |
69 | connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, | 69 | connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, |
70 | const struct GNUNET_ATS_Information *atsi, | 70 | const struct GNUNET_ATS_Information *atsi, |
71 | unsigned int atsi_count) | 71 | unsigned int atsi_count) |
72 | { | 72 | { |
73 | } | 73 | } |
74 | 74 | ||
@@ -83,7 +83,7 @@ static int | |||
83 | inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 83 | inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, |
84 | const struct GNUNET_MessageHeader *message, | 84 | const struct GNUNET_MessageHeader *message, |
85 | const struct GNUNET_ATS_Information *atsi, | 85 | const struct GNUNET_ATS_Information *atsi, |
86 | unsigned int atsi_count) | 86 | unsigned int atsi_count) |
87 | { | 87 | { |
88 | return GNUNET_OK; | 88 | return GNUNET_OK; |
89 | } | 89 | } |
@@ -93,7 +93,7 @@ static int | |||
93 | outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 93 | outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, |
94 | const struct GNUNET_MessageHeader *message, | 94 | const struct GNUNET_MessageHeader *message, |
95 | const struct GNUNET_ATS_Information *atsi, | 95 | const struct GNUNET_ATS_Information *atsi, |
96 | unsigned int atsi_count) | 96 | unsigned int atsi_count) |
97 | { | 97 | { |
98 | return GNUNET_OK; | 98 | return GNUNET_OK; |
99 | } | 99 | } |
@@ -130,9 +130,8 @@ init_notify (void *cls, struct GNUNET_CORE_Handle *server, | |||
130 | /* connect p2 */ | 130 | /* connect p2 */ |
131 | p2.ch = | 131 | p2.ch = |
132 | GNUNET_CORE_connect (p2.cfg, 1, &p2, &init_notify, &connect_notify, | 132 | GNUNET_CORE_connect (p2.cfg, 1, &p2, &init_notify, &connect_notify, |
133 | &disconnect_notify, &inbound_notify, | 133 | &disconnect_notify, &inbound_notify, GNUNET_YES, |
134 | GNUNET_YES, &outbound_notify, GNUNET_YES, | 134 | &outbound_notify, GNUNET_YES, handlers); |
135 | handlers); | ||
136 | } | 135 | } |
137 | else | 136 | else |
138 | { | 137 | { |
@@ -193,8 +192,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
193 | &timeout_task, NULL); | 192 | &timeout_task, NULL); |
194 | p1.ch = | 193 | p1.ch = |
195 | GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify, | 194 | GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify, |
196 | &disconnect_notify, &inbound_notify, | 195 | &disconnect_notify, &inbound_notify, GNUNET_YES, |
197 | GNUNET_YES, &outbound_notify, GNUNET_YES, handlers); | 196 | &outbound_notify, GNUNET_YES, handlers); |
198 | } | 197 | } |
199 | 198 | ||
200 | 199 | ||