From c3744b7f09a561ad1762db58eb5c1e6275217c08 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 6 Apr 2011 07:20:45 +0000 Subject: [PATCH] indent --- src/transport/plugin_transport_http.c | 42 +++++++++++++-------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index a90cc9f0d..b34972722 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c @@ -2360,27 +2360,27 @@ http_plugin_send (void *cls, //return GNUNET_SYSERR; } - /* create msg */ - msg = GNUNET_malloc (sizeof (struct HTTP_Message) + msgbuf_size); - msg->next = NULL; - msg->size = msgbuf_size; - msg->pos = 0; - msg->buf = (char *) &msg[1]; - msg->transmit_cont = cont; - msg->transmit_cont_cls = cont_cls; - memcpy (msg->buf,msgbuf, msgbuf_size); - - GNUNET_CONTAINER_DLL_insert(ps->pending_msgs_head,ps->pending_msgs_tail,msg); - ps->queue_length_cur += msgbuf_size; - - if (send_check_connections (plugin, ps) == GNUNET_SYSERR) - return GNUNET_SYSERR; - if (force_address != GNUNET_YES) - pc->last_session = ps; - - if (pc->last_session==NULL) - pc->last_session = ps; - return msg->size; + /* create msg */ + msg = GNUNET_malloc (sizeof (struct HTTP_Message) + msgbuf_size); + msg->next = NULL; + msg->size = msgbuf_size; + msg->pos = 0; + msg->buf = (char *) &msg[1]; + msg->transmit_cont = cont; + msg->transmit_cont_cls = cont_cls; + memcpy (msg->buf,msgbuf, msgbuf_size); + GNUNET_CONTAINER_DLL_insert (ps->pending_msgs_head, + ps->pending_msgs_tail, + msg); + ps->queue_length_cur += msgbuf_size; + if (send_check_connections (plugin, ps) == GNUNET_SYSERR) + return GNUNET_SYSERR; + if (force_address != GNUNET_YES) + pc->last_session = ps; + + if (pc->last_session==NULL) + pc->last_session = ps; + return msg->size; } -- 2.25.1