mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
no log
This commit is contained in:
parent
7651ed0562
commit
fe38107c42
1 changed files with 0 additions and 2 deletions
|
@ -3,7 +3,6 @@ package comm
|
|||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"log"
|
||||
"net"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
@ -53,7 +52,6 @@ func (c Comm) Read() (buf []byte, numBytes int, bs []byte, err error) {
|
|||
tmp := make([]byte, 1)
|
||||
c.connection.Read(tmp)
|
||||
bs = append(bs, tmp...)
|
||||
log.Println(bs)
|
||||
}
|
||||
numBytes, err = strconv.Atoi(strings.TrimLeft(string(bs), "0"))
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue