mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02:00
CLEANUP: htx: Properly indent htx_reserve_max_data() function
Spaces were used instead of tabs to indent htx_reserve_max_data() function. Let's reindent the whole function.
This commit is contained in:
parent
c57af8ebcd
commit
e5fe2013a9
@ -925,7 +925,7 @@ struct htx_ret htx_reserve_max_data(struct htx *htx)
|
||||
if (room < len)
|
||||
len = room;
|
||||
|
||||
append_data:
|
||||
append_data:
|
||||
htx_change_blk_value_len(htx, tailblk, sz+len);
|
||||
|
||||
BUG_ON((int32_t)htx->tail_addr < 0);
|
||||
@ -934,7 +934,7 @@ struct htx_ret htx_reserve_max_data(struct htx *htx)
|
||||
BUG_ON(htx->head_addr > htx->end_addr);
|
||||
return (struct htx_ret){.ret = sz, .blk = tailblk};
|
||||
|
||||
rsv_new_block:
|
||||
rsv_new_block:
|
||||
blk = htx_add_blk(htx, HTX_BLK_DATA, len);
|
||||
if (!blk)
|
||||
return (struct htx_ret){.ret = 0, .blk = NULL};
|
||||
|
Loading…
x
Reference in New Issue
Block a user