diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
commit | 61c39c60565b386e0e12ea669556b030e8cd7180 (patch) | |
tree | 59109aeab8297bdc996faca8c4e38ec7426c36cf /src/regex/gnunet-service-regex.c | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/regex/gnunet-service-regex.c')
-rw-r--r-- | src/regex/gnunet-service-regex.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/regex/gnunet-service-regex.c b/src/regex/gnunet-service-regex.c index 22175331c..620086b15 100644 --- a/src/regex/gnunet-service-regex.c +++ b/src/regex/gnunet-service-regex.c | |||
@@ -193,7 +193,7 @@ reannounce (void *cls, | |||
193 | * @param message the actual message | 193 | * @param message the actual message |
194 | */ | 194 | */ |
195 | static void | 195 | static void |
196 | handle_announce (void *cls, | 196 | handle_announce (void *cls, |
197 | struct GNUNET_SERVER_Client *client, | 197 | struct GNUNET_SERVER_Client *client, |
198 | const struct GNUNET_MessageHeader *message) | 198 | const struct GNUNET_MessageHeader *message) |
199 | { | 199 | { |
@@ -238,7 +238,7 @@ handle_announce (void *cls, | |||
238 | return; | 238 | return; |
239 | } | 239 | } |
240 | GNUNET_CONTAINER_DLL_insert (client_head, | 240 | GNUNET_CONTAINER_DLL_insert (client_head, |
241 | client_tail, | 241 | client_tail, |
242 | ce); | 242 | ce); |
243 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 243 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
244 | } | 244 | } |
@@ -254,7 +254,7 @@ handle_announce (void *cls, | |||
254 | * @param put_path Path of the put request. | 254 | * @param put_path Path of the put request. |
255 | * @param put_path_length Length of the put_path. | 255 | * @param put_path_length Length of the put_path. |
256 | */ | 256 | */ |
257 | static void | 257 | static void |
258 | handle_search_result (void *cls, | 258 | handle_search_result (void *cls, |
259 | const struct GNUNET_PeerIdentity *id, | 259 | const struct GNUNET_PeerIdentity *id, |
260 | const struct GNUNET_PeerIdentity *get_path, | 260 | const struct GNUNET_PeerIdentity *get_path, |
@@ -283,11 +283,11 @@ handle_search_result (void *cls, | |||
283 | result->put_path_length = htons ((uint16_t) put_path_length); | 283 | result->put_path_length = htons ((uint16_t) put_path_length); |
284 | result->id = *id; | 284 | result->id = *id; |
285 | gp = &result->id; | 285 | gp = &result->id; |
286 | memcpy (&gp[1], | 286 | memcpy (&gp[1], |
287 | get_path, | 287 | get_path, |
288 | get_path_length * sizeof (struct GNUNET_PeerIdentity)); | 288 | get_path_length * sizeof (struct GNUNET_PeerIdentity)); |
289 | memcpy (&gp[1 + get_path_length], | 289 | memcpy (&gp[1 + get_path_length], |
290 | put_path, | 290 | put_path, |
291 | put_path_length * sizeof (struct GNUNET_PeerIdentity)); | 291 | put_path_length * sizeof (struct GNUNET_PeerIdentity)); |
292 | GNUNET_SERVER_notification_context_unicast (nc, | 292 | GNUNET_SERVER_notification_context_unicast (nc, |
293 | ce->client, | 293 | ce->client, |
@@ -304,7 +304,7 @@ handle_search_result (void *cls, | |||
304 | * @param message the actual message | 304 | * @param message the actual message |
305 | */ | 305 | */ |
306 | static void | 306 | static void |
307 | handle_search (void *cls, | 307 | handle_search (void *cls, |
308 | struct GNUNET_SERVER_Client *client, | 308 | struct GNUNET_SERVER_Client *client, |
309 | const struct GNUNET_MessageHeader *message) | 309 | const struct GNUNET_MessageHeader *message) |
310 | { | 310 | { |
@@ -338,7 +338,7 @@ handle_search (void *cls, | |||
338 | return; | 338 | return; |
339 | } | 339 | } |
340 | GNUNET_CONTAINER_DLL_insert (client_head, | 340 | GNUNET_CONTAINER_DLL_insert (client_head, |
341 | client_tail, | 341 | client_tail, |
342 | ce); | 342 | ce); |
343 | GNUNET_SERVER_notification_context_add (nc, client); | 343 | GNUNET_SERVER_notification_context_add (nc, client); |
344 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 344 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
@@ -364,7 +364,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
364 | 364 | ||
365 | my_private_key = GNUNET_CRYPTO_ecc_key_create_from_configuration (cfg); | 365 | my_private_key = GNUNET_CRYPTO_ecc_key_create_from_configuration (cfg); |
366 | if (NULL == my_private_key) | 366 | if (NULL == my_private_key) |
367 | { | 367 | { |
368 | GNUNET_SCHEDULER_shutdown (); | 368 | GNUNET_SCHEDULER_shutdown (); |
369 | return; | 369 | return; |
370 | } | 370 | } |