mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-20 18:23:41 +00:00
Tweak formatting
This commit is contained in:
@@ -557,11 +557,13 @@ where
|
||||
random_bytes: &random_bytes,
|
||||
}
|
||||
.encode(&*server_config.token_key, &remote, &temp_loc_cid);
|
||||
let mut buf = Vec::new();
|
||||
|
||||
let header = Header::Retry {
|
||||
src_cid: temp_loc_cid,
|
||||
dst_cid: src_cid,
|
||||
};
|
||||
|
||||
let mut buf = Vec::new();
|
||||
let encode = header.encode(&mut buf);
|
||||
buf.put_slice(&token);
|
||||
buf.extend_from_slice(&S::retry_tag(&dst_cid, &buf));
|
||||
|
||||
Reference in New Issue
Block a user