1
0
Fork 0
forked from External/ergo

Make channels synchronous.

This commit is contained in:
Jeremy Latt 2013-06-02 16:53:06 -07:00
parent 74aaf2f9d3
commit 0001131095
5 changed files with 7 additions and 7 deletions

View file

@ -31,7 +31,7 @@ type ClientSet map[*Client]bool
func NewClient(server *Server, conn net.Conn) *Client {
read := StringReadChan(conn)
write := StringWriteChan(conn)
replies := make(chan Reply, 1)
replies := make(chan Reply)
client := &Client{
conn: conn,