summaryrefslogtreecommitdiff
path: root/src/pkg/net/sendfile_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/sendfile_linux.go')
-rw-r--r--src/pkg/net/sendfile_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/sendfile_linux.go b/src/pkg/net/sendfile_linux.go
index 3357e6538..6f1323b3d 100644
--- a/src/pkg/net/sendfile_linux.go
+++ b/src/pkg/net/sendfile_linux.go
@@ -59,7 +59,7 @@ func sendFile(c *netFD, r io.Reader) (written int64, err error, handled bool) {
break
}
if err1 == syscall.EAGAIN {
- if err1 = c.pollServer.WaitWrite(c); err1 == nil {
+ if err1 = c.pd.WaitWrite(); err1 == nil {
continue
}
}