Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
WeidiDeng authored Dec 8, 2024
1 parent 7ba98c0 commit e1141c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/caddyhttp/encode/encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func (enc *Encode) addEncoding(e Encoding) error {
// be closed after the handler completes.
func (enc *Encode) openResponseWriter(encodingName string, w http.ResponseWriter, isConnect bool) *responseWriter {
var rw responseWriter
return enc.initResponseWriter(&rw, encodingName, w, isConnect bool)
return enc.initResponseWriter(&rw, encodingName, w, isConnect)
}

// initResponseWriter initializes the responseWriter instance
Expand Down

0 comments on commit e1141c1

Please sign in to comment.