Commit dc8c4476 authored by Rob Pike's avatar Rob Pike

post-submit tweaks to previous cl

R=rsc
DELTA=5  (4 added, 1 deleted, 0 changed)
OCL=31690
CL=31692
parent 9211a7d4
......@@ -43,8 +43,8 @@ func (client *Client) send(c *Call) {
// Register this call.
client.Lock();
if client.shutdown != nil {
client.Unlock();
c.Error = client.shutdown;
client.Unlock();
doNotBlock := c.Done <- c;
return;
}
......@@ -72,6 +72,9 @@ func (client *Client) serve() {
response := new(Response);
err = client.dec.Decode(response);
if err != nil {
if err == os.EOF {
err = io.ErrUnexpectedEOF;
}
break
}
seq := response.Seq;
......
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