]> Cypherpunks repositories - gostls13.git/commit
net/rpc: improve response reading logic
authorAlexey Borzenkov <snaury@gmail.com>
Sat, 26 May 2012 21:27:36 +0000 (14:27 -0700)
committerRob Pike <r@golang.org>
Sat, 26 May 2012 21:27:36 +0000 (14:27 -0700)
commitdcc80e4553e4a9a9676d0fd35092cc1009bc148c
tree10a665fa7a82987576cca023f164a7ea23cf75b2
parent1423ecb1266c9af288caa2723988a326adf7118e
net/rpc: improve response reading logic

CL 5956051 introduced too many call != nil checks, so
attempt to improve this by splitting logic into three
distinct parts.

R=r
CC=golang-dev
https://golang.org/cl/6248048
src/pkg/net/rpc/client.go