mirror of
https://github.com/zgwit/beeq.git
synced 2025-09-26 19:51:13 +08:00
bugfixed
This commit is contained in:
@@ -18,9 +18,8 @@ func (p *Parser) Parse(buf []byte) []Message {
|
||||
p.buf = nil
|
||||
} else {
|
||||
//复制内存,避免覆盖
|
||||
b := make([]byte, len(buf))
|
||||
b = make([]byte, len(buf))
|
||||
copy(b, buf)
|
||||
|
||||
}
|
||||
|
||||
//解析
|
||||
|
Reference in New Issue
Block a user