CLEANUP: htx: Fix indentation here and there in HTX files

This commit is contained in:
Christopher Faulet 2018-12-05 16:20:40 +01:00 committed by Willy Tarreau
parent 56df0a82ea
commit aa75b3d2d5
4 changed files with 603 additions and 603 deletions

View File

@ -88,10 +88,10 @@ int htx_trailer_to_h1(const struct ist tlr, struct buffer *chk);
#define HTX_SL_RES_CPTR(sl) HTX_SL_P2_PTR(sl)
#define HTX_SL_RES_RPTR(sl) HTX_SL_P3_PTR(sl)
static inline const struct ist htx_sl_p1(const struct htx_sl *sl)
{
static inline const struct ist htx_sl_p1(const struct htx_sl *sl)
{
return ist2(HTX_SL_P1_PTR(sl), HTX_SL_P1_LEN(sl));
}
}
static inline const struct ist htx_sl_p2(const struct htx_sl *sl)
{
@ -223,7 +223,7 @@ static inline int32_t htx_get_head(const struct htx *htx)
/* Returns the oldest HTX block (head) if the HTX message is not
* empty. Otherwise it returns NULL.
*/
*/
static inline struct htx_blk *htx_get_head_blk(const struct htx *htx)
{
int32_t head = htx_get_head(htx);
@ -254,7 +254,7 @@ static inline int32_t htx_get_tail(const struct htx *htx)
/* Returns the newest HTX block (tail) if the HTX message is not
* empty. Otherwise it returns NULL.
*/
*/
static inline struct htx_blk *htx_get_tail_blk(const struct htx *htx)
{
int32_t tail = htx_get_tail(htx);
@ -293,7 +293,7 @@ static inline int32_t htx_get_prev(const struct htx *htx, uint32_t pos)
/* Returns the HTX block before <blk> in the HTX message <htx>. If <blk> is the
* head, NULL returned.
*/
*/
static inline struct htx_blk *htx_get_prev_blk(const struct htx *htx,
const struct htx_blk *blk)
{
@ -326,7 +326,7 @@ static inline int32_t htx_get_next(const struct htx *htx, uint32_t pos)
/* Returns the HTX block after <blk> in the HTX message <htx>. If <blk> is the
* tail, NULL returned.
*/
*/
static inline struct htx_blk *htx_get_next_blk(const struct htx *htx,
const struct htx_blk *blk)
{