Minor fix

This commit is contained in:
Andreas Neue 2016-08-02 17:43:57 +02:00
parent 32f3f5eaf0
commit 1e96d0c9d7
1 changed files with 0 additions and 1 deletions

View File

@ -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:])