diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
commit | 16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch) | |
tree | e09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/core/core_api.c | |
parent | 4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff) | |
download | gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip |
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r-- | src/core/core_api.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c index 5ec48d68c..27754010a 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c | |||
@@ -371,7 +371,8 @@ struct GNUNET_CORE_TransmitHandle | |||
371 | * | 371 | * |
372 | * @param h our handle to the core service | 372 | * @param h our handle to the core service |
373 | */ | 373 | */ |
374 | static void reconnect (struct GNUNET_CORE_Handle *h); | 374 | static void |
375 | reconnect (struct GNUNET_CORE_Handle *h); | ||
375 | 376 | ||
376 | 377 | ||
377 | /** | 378 | /** |
@@ -515,8 +516,8 @@ reconnect_later (struct GNUNET_CORE_Handle *h) | |||
515 | * @param h core handle | 516 | * @param h core handle |
516 | * @param ignore_currently_down transmit message even if not initialized? | 517 | * @param ignore_currently_down transmit message even if not initialized? |
517 | */ | 518 | */ |
518 | static void trigger_next_request (struct GNUNET_CORE_Handle *h, | 519 | static void |
519 | int ignore_currently_down); | 520 | trigger_next_request (struct GNUNET_CORE_Handle *h, int ignore_currently_down); |
520 | 521 | ||
521 | 522 | ||
522 | /** | 523 | /** |
@@ -526,9 +527,8 @@ static void trigger_next_request (struct GNUNET_CORE_Handle *h, | |||
526 | * @param cls the transmit handle of the request that timed out | 527 | * @param cls the transmit handle of the request that timed out |
527 | * @param tc context, can be NULL (!) | 528 | * @param tc context, can be NULL (!) |
528 | */ | 529 | */ |
529 | static void transmission_timeout (void *cls, | 530 | static void |
530 | const struct GNUNET_SCHEDULER_TaskContext | 531 | transmission_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); |
531 | *tc); | ||
532 | 532 | ||
533 | 533 | ||
534 | /** | 534 | /** |
@@ -776,8 +776,8 @@ trigger_next_request (struct GNUNET_CORE_Handle *h, int ignore_currently_down) | |||
776 | } | 776 | } |
777 | if (h->control_pending_head != NULL) | 777 | if (h->control_pending_head != NULL) |
778 | msize = | 778 | msize = |
779 | ntohs (((struct GNUNET_MessageHeader *) &h->control_pending_head[1])-> | 779 | ntohs (((struct GNUNET_MessageHeader *) &h-> |
780 | size); | 780 | control_pending_head[1])->size); |
781 | else if (h->ready_peer_head != NULL) | 781 | else if (h->ready_peer_head != NULL) |
782 | msize = | 782 | msize = |
783 | h->ready_peer_head->pending_head->msize + sizeof (struct SendMessage); | 783 | h->ready_peer_head->pending_head->msize + sizeof (struct SendMessage); |