[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14884 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14884 - gnunet/src/transport |
Date: |
Wed, 6 Apr 2011 09:20:45 +0200 |
Author: grothoff
Date: 2011-04-06 09:20:45 +0200 (Wed, 06 Apr 2011)
New Revision: 14884
Modified:
gnunet/src/transport/plugin_transport_http.c
Log:
indent
Modified: gnunet/src/transport/plugin_transport_http.c
===================================================================
--- gnunet/src/transport/plugin_transport_http.c 2011-04-06 07:13:02 UTC
(rev 14883)
+++ gnunet/src/transport/plugin_transport_http.c 2011-04-06 07:20:45 UTC
(rev 14884)
@@ -2360,27 +2360,27 @@
//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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14884 - gnunet/src/transport,
gnunet <=