From db2368cd0b3d4d1b5d9250b365479e497dac595c Mon Sep 17 00:00:00 2001 From: Slawomir Jasinski Date: Fri, 12 Jun 2015 11:33:55 +1000 Subject: [PATCH] Removed parentheses #127 --- middleware/fastcgi/fcgiclient.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/middleware/fastcgi/fcgiclient.go b/middleware/fastcgi/fcgiclient.go index 8e6b780a..70ddfbe2 100644 --- a/middleware/fastcgi/fcgiclient.go +++ b/middleware/fastcgi/fcgiclient.go @@ -380,7 +380,7 @@ func (c *FCGIClient) Request(p map[string]string, req io.Reader) (resp *http.Res if err != nil { return } - if (len(statusParts) > 0) { + if len(statusParts) > 0 { resp.Status = statusParts[1] } @@ -515,4 +515,4 @@ func (c *FCGIClient) PostFile(p map[string]string, data url.Values, file map[str } // Checks whether chunked is part of the encodings stack -func chunked(te []string) bool { return len(te) > 0 && te[0] == "chunked" } \ No newline at end of file +func chunked(te []string) bool { return len(te) > 0 && te[0] == "chunked" }