aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
commit16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch)
treee09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/core/core_api.c
parent4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff)
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r--src/core/core_api.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c
index 5ec48d68ca..27754010a0 100644
--- a/src/core/core_api.c
+++ b/src/core/core_api.c
@@ -371,7 +371,8 @@ struct GNUNET_CORE_TransmitHandle
*
* @param h our handle to the core service
*/
-static void reconnect (struct GNUNET_CORE_Handle *h);
+static void
+reconnect (struct GNUNET_CORE_Handle *h);
/**
@@ -515,8 +516,8 @@ reconnect_later (struct GNUNET_CORE_Handle *h)
* @param h core handle
* @param ignore_currently_down transmit message even if not initialized?
*/
-static void trigger_next_request (struct GNUNET_CORE_Handle *h,
- int ignore_currently_down);
+static void
+trigger_next_request (struct GNUNET_CORE_Handle *h, int ignore_currently_down);
/**
@@ -526,9 +527,8 @@ static void trigger_next_request (struct GNUNET_CORE_Handle *h,
* @param cls the transmit handle of the request that timed out
* @param tc context, can be NULL (!)
*/
-static void transmission_timeout (void *cls,
- const struct GNUNET_SCHEDULER_TaskContext
- *tc);
+static void
+transmission_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
/**
@@ -776,8 +776,8 @@ trigger_next_request (struct GNUNET_CORE_Handle *h, int ignore_currently_down)
}
if (h->control_pending_head != NULL)
msize =
- ntohs (((struct GNUNET_MessageHeader *) &h->control_pending_head[1])->
- size);
+ ntohs (((struct GNUNET_MessageHeader *) &h->
+ control_pending_head[1])->size);
else if (h->ready_peer_head != NULL)
msize =
h->ready_peer_head->pending_head->msize + sizeof (struct SendMessage);