From cda052790a2609438227357e74898b7dee9031ee Mon Sep 17 00:00:00 2001 From: taknb2nch Date: Sat, 15 Feb 2014 00:47:43 +0900 Subject: [PATCH] =?UTF-8?q?ReadToPeriod=E3=83=A1=E3=82=BD=E3=83=83?= =?UTF-8?q?=E3=83=89=E3=81=AE=E3=82=A8=E3=83=A9=E3=83=BC=E6=99=82=E3=81=AE?= =?UTF-8?q?=E6=88=BB=E3=82=8A=E5=80=A4=E3=81=8Cnil=E3=81=A0=E3=81=A3?= =?UTF-8?q?=E3=81=9F=E3=81=AE=E3=81=A7err=E3=81=AB=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pop3proto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pop3proto.go b/pop3proto.go index ecbb56b..763f8f2 100644 --- a/pop3proto.go +++ b/pop3proto.go @@ -73,7 +73,7 @@ func (r *Reader) ReadToPeriod() (string, error) { lines, err := r.ReadLines() if err != nil { - return "", nil + return "", err } return strings.Join(lines, "\r\n"), nil