diff options
Diffstat (limited to 'network/protocol/sideband64k/encoder.go')
| -rw-r--r-- | network/protocol/sideband64k/encoder.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/protocol/sideband64k/encoder.go b/network/protocol/sideband64k/encoder.go index 9f729d15..8b48566d 100644 --- a/network/protocol/sideband64k/encoder.go +++ b/network/protocol/sideband64k/encoder.go @@ -3,6 +3,7 @@ package sideband64k import ( "fmt" + "codeberg.org/lindenii/furgit/common/iowrap" "codeberg.org/lindenii/furgit/network/protocol/pktline" ) @@ -15,7 +16,7 @@ type Encoder struct { } // NewEncoder creates an encoder over w. -func NewEncoder(w pktline.WriteFlusher) *Encoder { +func NewEncoder(w iowrap.WriteFlusher) *Encoder { return &Encoder{ enc: pktline.NewEncoder(w), maxData: DataMax, |
