mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04:00
CLEANUP: htx: Fix typos in comments
Some minor typos in comments were fixed.
This commit is contained in:
parent
34d6cf6c02
commit
e4c5862731
1 changed files with 2 additions and 2 deletions
|
|
@ -821,10 +821,10 @@ size_t htx_xfer(struct htx *dst, struct htx *src, size_t count, unsigned int fla
|
|||
|
||||
/* the last copied block is a start-line, a header or a trailer */
|
||||
if (type == HTX_BLK_REQ_SL || type == HTX_BLK_RES_SL || type == HTX_BLK_HDR || type == HTX_BLK_TLR) {
|
||||
/* <src > cannot have partial headers or trailers part */
|
||||
/* <src> cannot have partial headers or trailers part */
|
||||
BUG_ON(blk == NULL);
|
||||
|
||||
/* Remove partial headers/trailers from <dst> and rollback on <str> to not remove them later */
|
||||
/* Remove partial headers/trailers from <dst> and rollback on <src> to not remove them later */
|
||||
while (type == HTX_BLK_REQ_SL || type == HTX_BLK_RES_SL || type == HTX_BLK_HDR || type == HTX_BLK_TLR) {
|
||||
BUG_ON(type != htx_get_blk_type(blk));
|
||||
ret -= sizeof(*blk) + htx_get_blksz(blk);
|
||||
|
|
|
|||
Loading…
Reference in a new issue