Minor fix
This commit is contained in:
parent
32f3f5eaf0
commit
1e96d0c9d7
|
@ -168,7 +168,6 @@ func (cl *RemoteClient) connReader() {
|
|||
func (cl *RemoteClient) connWriter() {
|
||||
for line := range cl.writeq {
|
||||
written := 0
|
||||
line = strings.Replace(line, "%", "%%", 0)
|
||||
bytes := []byte(line + "\r\n")
|
||||
for written < len(line) {
|
||||
n, err := cl.conn.Write(bytes[written:])
|
||||
|
|
Loading…
Reference in New Issue