summaryrefslogtreecommitdiff
path: root/libgo/go/http/reverseproxy.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/http/reverseproxy.go')
-rw-r--r--libgo/go/http/reverseproxy.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/libgo/go/http/reverseproxy.go b/libgo/go/http/reverseproxy.go
index 3a63db009fc..9cd359f16b9 100644
--- a/libgo/go/http/reverseproxy.go
+++ b/libgo/go/http/reverseproxy.go
@@ -10,7 +10,6 @@ import (
"io"
"log"
"net"
- "os"
"strings"
"sync"
"time"
@@ -141,7 +140,7 @@ type maxLatencyWriter struct {
done chan bool
}
-func (m *maxLatencyWriter) Write(p []byte) (n int, err os.Error) {
+func (m *maxLatencyWriter) Write(p []byte) (n int, err error) {
m.lk.Lock()
defer m.lk.Unlock()
if m.done == nil {