commit | 6ad3ff1103f1ef0750e75690d28259bbc6c5baa3 | [log] [tgz] |
---|---|---|
author | Nicolas LaCasse <nlacasse@google.com> | Mon Nov 24 19:08:05 2014 -0800 |
committer | Nicolas LaCasse <nlacasse@google.com> | Mon Nov 24 19:08:05 2014 -0800 |
tree | 55270f5d91ba5a6a52f7787cfb2d2cc0ec50cd6d | |
parent | cec437c462d6b545d5c5a1a9b2d2341c2817f353 [diff] [blame] |
veyron/lib/websocket: Fix bug in conn_nacl. Unfortunately unrelated to all the other bugs. Change-Id: Icff27d73829bf395e1edbf3e172a4c58e5bfffe2
diff --git a/lib/websocket/conn_nacl.go b/lib/websocket/conn_nacl.go index 22d368d..e20ced8 100644 --- a/lib/websocket/conn_nacl.go +++ b/lib/websocket/conn_nacl.go
@@ -50,7 +50,7 @@ if len(c.currBuffer) == 0 { c.currBuffer, err = c.ws.ReceiveMessage() if err != nil { - return 0, nil + return 0, err } }