Commit db2368cd authored by Slawomir Jasinski's avatar Slawomir Jasinski

Removed parentheses #127

parent 29404e34
...@@ -380,7 +380,7 @@ func (c *FCGIClient) Request(p map[string]string, req io.Reader) (resp *http.Res ...@@ -380,7 +380,7 @@ func (c *FCGIClient) Request(p map[string]string, req io.Reader) (resp *http.Res
if err != nil { if err != nil {
return return
} }
if (len(statusParts) > 0) { if len(statusParts) > 0 {
resp.Status = statusParts[1] resp.Status = statusParts[1]
} }
...@@ -515,4 +515,4 @@ func (c *FCGIClient) PostFile(p map[string]string, data url.Values, file map[str ...@@ -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 // Checks whether chunked is part of the encodings stack
func chunked(te []string) bool { return len(te) > 0 && te[0] == "chunked" } func chunked(te []string) bool { return len(te) > 0 && te[0] == "chunked" }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment