aboutsummaryrefslogtreecommitdiff
path: root/format/sideband64k/encoder.go
diff options
context:
space:
mode:
Diffstat (limited to 'format/sideband64k/encoder.go')
-rw-r--r--format/sideband64k/encoder.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/format/sideband64k/encoder.go b/format/sideband64k/encoder.go
index 56854abf..4205d461 100644
--- a/format/sideband64k/encoder.go
+++ b/format/sideband64k/encoder.go
@@ -28,6 +28,7 @@ func NewEncoder(w pktline.WriteFlusher) *Encoder {
func (e *Encoder) SetMaxData(n int) {
if n <= 0 {
e.maxData = DataMax
+
return
}