aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/contentenc/offsets.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/contentenc/offsets.go b/internal/contentenc/offsets.go
index 5ad0da4..fdeb583 100644
--- a/internal/contentenc/offsets.go
+++ b/internal/contentenc/offsets.go
@@ -39,7 +39,8 @@ func (be *ContentEnc) CipherSizeToPlainSize(cipherSize uint64) uint64 {
}
if cipherSize == HeaderLen {
- tlog.Warn.Printf("cipherSize %d == header size: interrupted write?\n", cipherSize)
+ // This can happen between createHeader() and Write() and is harmless.
+ tlog.Debug.Printf("cipherSize %d == header size: interrupted write?\n", cipherSize)
return 0
}