diff options
author | Wim <wim@42.be> | 2020-01-09 18:21:10 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2020-01-09 18:21:10 +0100 |
commit | b9354de8fd5e424ac2f246fff1a03b27e8094fd8 (patch) | |
tree | 0207bb88e1e5df2fb32a274cb8de5328b2d058d1 /vendor/github.com/zfjagann | |
parent | c9d5f4c8989ddf2465a20aac46537369c654b580 (diff) | |
download | matterbridge-msglm-b9354de8fd5e424ac2f246fff1a03b27e8094fd8.tar.gz matterbridge-msglm-b9354de8fd5e424ac2f246fff1a03b27e8094fd8.tar.bz2 matterbridge-msglm-b9354de8fd5e424ac2f246fff1a03b27e8094fd8.zip |
Clean up go.mod and vendor
Diffstat (limited to 'vendor/github.com/zfjagann')
-rw-r--r-- | vendor/github.com/zfjagann/golang-ring/ring.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/zfjagann/golang-ring/ring.go b/vendor/github.com/zfjagann/golang-ring/ring.go index 345ee8cd..6d2a7e24 100644 --- a/vendor/github.com/zfjagann/golang-ring/ring.go +++ b/vendor/github.com/zfjagann/golang-ring/ring.go @@ -56,7 +56,7 @@ func (r *Ring) ContentSize() int { } else { difference := (r.head - r.tail) if difference < 0 { - difference += r.capacity() + difference = -difference } return difference + 1 } |