diff options
author | Runxi Yu <me@runxiyu.org> | 2024-12-31 16:40:45 +0000 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-12-31 16:40:45 +0000 |
commit | 3cb0810b82988f10cf1cb1c5917891d609ac2266 (patch) | |
tree | acdfdc31779bbf56d776f47bfd76c850aebb204a /main.go | |
parent | config.go: That comment is not a package doc (diff) | |
download | maild-3cb0810b82988f10cf1cb1c5917891d609ac2266.tar.gz maild-3cb0810b82988f10cf1cb1c5917891d609ac2266.tar.zst maild-3cb0810b82988f10cf1cb1c5917891d609ac2266.zip |
Delete weird debug prints
Diffstat (limited to '')
-rw-r--r-- | main.go | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -155,19 +155,15 @@ func handle_connection(reader *bufio.Reader, writer *bufio.Writer) error { data_part := make([]byte, len(tmp)) copy(data_part, tmp) - clog.Debug("e", "e", string(data_part)) next_four, err := reader.Peek(4) if err != nil { return err } if bytes.Equal(next_four, []byte{'\n', '.', '\r', '\n'}) { current_data = slices.Concat(current_data, data_part[:len(data_part)-1]) - clog.Debug("eee", string(next_four)) // shut up go break } - clog.Debug("pre concat", "current_data", string(current_data), "data_part", string(data_part)) current_data = slices.Concat(current_data, data_part) - clog.Debug("post concat", "current_data", string(current_data), "data_part", string(data_part)) } _, err := reader.Discard(4) if err != nil { |