From 8408b7735c2df7f4e1e0ccb9eaf926d395ffb3ef Mon Sep 17 00:00:00 2001 From: V2Ray Date: Wed, 14 Oct 2015 01:15:29 +0200 Subject: [PATCH] format code --- point.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/point.go b/point.go index 279725b04..25ab4ed46 100644 --- a/point.go +++ b/point.go @@ -92,11 +92,11 @@ func (vp *Point) Start() error { return retry.Timed(100 /* times */, 100 /* ms */).On(func() error { err := vp.ich.Listen(vp.port) - if err == nil { - log.Warning("Point server started on port %d", vp.port) - return nil - } - return err + if err == nil { + log.Warning("Point server started on port %d", vp.port) + return nil + } + return err }) }