mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
casify misc
R=r DELTA=247 (20 added, 50 deleted, 177 changed) OCL=22951 CL=22955
This commit is contained in:
parent
116a6e9c9c
commit
aedfb397ae
14 changed files with 174 additions and 204 deletions
|
|
@ -190,7 +190,7 @@ export func ReadRequest(b *bufio.BufRead) (req *Request, err *os.Error) {
|
|||
}
|
||||
|
||||
var f []string;
|
||||
if f = strings.split(s, " "); len(f) != 3 {
|
||||
if f = strings.Split(s, " "); len(f) != 3 {
|
||||
return nil, BadRequest
|
||||
}
|
||||
req.method, req.rawurl, req.proto = f[0], f[1], f[2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue