Do not log raw input in ScanStream

This commit is contained in:
Dolf Schimmel
2016-04-03 00:16:14 +02:00
committed by Dolf Schimmel (Freeaqingme)
parent ac27ac358e
commit 1b4a274e85

View File

@@ -29,7 +29,6 @@ import (
"errors"
"fmt"
"io"
"log"
"net/url"
"strings"
)
@@ -261,7 +260,6 @@ func (c *Clamd) ScanStream(r io.Reader) (chan string, error) {
nr, err := r.Read(buf)
if nr > 0 {
log.Printf("Error %v, %v, %v", buf[0:nr], nr, err)
conn.sendChunk(buf[0:nr])
}