summaryrefslogtreecommitdiff
path: root/src/pkg/rpc/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/rpc/client.go')
-rw-r--r--src/pkg/rpc/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/rpc/client.go b/src/pkg/rpc/client.go
index 8663ad442..4c6dd89ed 100644
--- a/src/pkg/rpc/client.go
+++ b/src/pkg/rpc/client.go
@@ -92,7 +92,7 @@ func (client *Client) input() {
// Terminate pending calls.
client.mutex.Lock();
client.shutdown = err;
- for seq, call := range client.pending {
+ for _, call := range client.pending {
call.Error = err;
_ = call.Done <- call; // do not block
}