mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-07 09:51:39 +00:00
http: make clippy happy
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
5153e68cab
commit
cbaa3b45bc
@ -202,8 +202,7 @@ pub fn create_frame(
|
|||||||
0b00000000
|
0b00000000
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut buf = Vec::new();
|
let mut buf = vec![first_byte];
|
||||||
buf.push(first_byte);
|
|
||||||
|
|
||||||
if len < 126 {
|
if len < 126 {
|
||||||
buf.push(mask_bit | (len as u8));
|
buf.push(mask_bit | (len as u8));
|
||||||
|
Loading…
Reference in New Issue
Block a user