From 343417633ac0df2db46470a8c68a7e1ab2e4ceca Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 12 Apr 2017 10:41:02 +0200 Subject: [PATCH] fix build break --- app/proxyman/mux/mux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proxyman/mux/mux.go b/app/proxyman/mux/mux.go index 31f63f2a..ca9e3a4b 100644 --- a/app/proxyman/mux/mux.go +++ b/app/proxyman/mux/mux.go @@ -229,7 +229,7 @@ func (m *Client) Dispatch(ctx context.Context, outboundRay ray.OutboundRay) bool m.access.Lock() defer m.access.Unlock() - if len(m.sessions) >= m.concurrency { + if len(m.sessions) >= int(m.concurrency) { return false }