summaryrefslogtreecommitdiff
path: root/src/pkg/netchan
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-02-18 09:50:58 +0100
committerOndřej Surý <ondrej@sury.org>2011-02-18 09:50:58 +0100
commitc072558b90f1bbedc2022b0f30c8b1ac4712538e (patch)
tree67767591619e4bd8111fb05fac185cde94fb7378 /src/pkg/netchan
parent5859517b767c99749a45651c15d4bae5520ebae8 (diff)
downloadgolang-upstream/2011.02.15.tar.gz
Imported Upstream version 2011.02.15upstream/2011.02.15
Diffstat (limited to 'src/pkg/netchan')
-rw-r--r--src/pkg/netchan/export.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/netchan/export.go b/src/pkg/netchan/export.go
index 0b28536ed..675e252d5 100644
--- a/src/pkg/netchan/export.go
+++ b/src/pkg/netchan/export.go
@@ -118,7 +118,9 @@ func (client *expClient) run() {
for {
*hdr = header{}
if err := client.decode(hdrValue); err != nil {
- expLog("error decoding client header:", err)
+ if err != os.EOF {
+ expLog("error decoding client header:", err)
+ }
break
}
switch hdr.PayloadType {