mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-27 15:40:27 +08:00
TUN-3019: Remove declarative tunnel entry code
This commit is contained in:
2
vendor/zombiezen.com/go/capnproto2/mem.go
generated
vendored
2
vendor/zombiezen.com/go/capnproto2/mem.go
generated
vendored
@@ -360,7 +360,7 @@ func (ssa *singleSegmentArena) Allocate(sz Size, segs map[SegmentID]*Segment) (S
|
||||
if hasCapacity(data, sz) {
|
||||
return 0, data, nil
|
||||
}
|
||||
inc, err := nextAlloc(int64(len(data)), int64(maxSegmentSize()), sz)
|
||||
inc, err := nextAlloc(int64(cap(data)), int64(maxSegmentSize()), sz)
|
||||
if err != nil {
|
||||
return 0, nil, fmt.Errorf("capnp: alloc %d bytes: %v", sz, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user