mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-11-03 19:54:34 +00:00
Reformat code
This commit is contained in:
8 files changed
+28
-28
No files matched your search
@@ -485,7 +485,7 @@ func XtlsPadding(b *buf.Buffer, command byte, userUUID *[]byte, longPadding bool
|
||||
}
|
||||
paddingLen = int32(l.Int64())
|
||||
}
|
||||
if paddingLen > buf.Size - 21 - contentLen {
|
||||
if paddingLen > buf.Size-21-contentLen {
|
||||
paddingLen = buf.Size - 21 - contentLen
|
||||
}
|
||||
newbuffer := buf.New()
|
||||
|
||||
Reference in new issue
Block a user