mirror of https://github.com/schollz/croc.git
works on linux?
This commit is contained in:
parent
02f4b08929
commit
5397634217
|
@ -3,7 +3,6 @@ package comm
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
|
||||||
"net"
|
"net"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -95,7 +94,7 @@ func (c Comm) Read() (buf []byte, numBytes int, bs []byte, err error) {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.Printf("wanted %d and got %d", numBytes, len(buf))
|
// log.Printf("wanted %d and got %d", numBytes, len(buf))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue