From 3d2f7f086ed4f5fee5730fc1126ee50d2eb4b702 Mon Sep 17 00:00:00 2001 From: Vincent Vanackere Date: Thu, 3 Nov 2011 14:01:30 -0700 Subject: [PATCH] all: rename os.EOF to io.EOF in various non-code contexts R=golang-dev, r CC=golang-dev https://golang.org/cl/5334050 --- conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conn.go b/conn.go index 6312c34..f4178e3 100644 --- a/conn.go +++ b/conn.go @@ -471,7 +471,7 @@ Again: // RFC suggests that EOF without an alertCloseNotify is // an error, but popular web sites seem to do this, // so we can't make it an error. - // if err == os.EOF { + // if err == io.EOF { // err = io.ErrUnexpectedEOF // } if e, ok := err.(net.Error); !ok || !e.Temporary() {