mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-08 20:52:21 +08:00
fix Read call in seccat
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:

committed by
Jakub Sztandera

parent
fda2428d36
commit
904be7c94d
@ -31,7 +31,7 @@ type logRW struct {
|
||||
|
||||
func (r *logRW) Read(buf []byte) (int, error) {
|
||||
n, err := r.rw.Read(buf)
|
||||
if err == nil {
|
||||
if n > 0 {
|
||||
log.Debugf("%s read: %v", r.n, buf)
|
||||
}
|
||||
return n, err
|
||||
|
Reference in New Issue
Block a user