aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorWeidiDeng <[email protected]>2024-12-08 18:10:06 +0800
committerGitHub <[email protected]>2024-12-08 18:10:06 +0800
commite1141c187038e20ddbbbcdc51824fca4489064a4 (patch)
treecb7522d0b4a1ae0d04a37ddef42379a04f37fcc7
parent7ba98c00834f65196891965228b32acdd514fd55 (diff)
downloadcaddy-e1141c187038e20ddbbbcdc51824fca4489064a4.tar.gz
caddy-e1141c187038e20ddbbbcdc51824fca4489064a4.zip
fix compile
-rw-r--r--modules/caddyhttp/encode/encode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/encode/encode.go b/modules/caddyhttp/encode/encode.go
index 28e41caae..f2fa52b73 100644
--- a/modules/caddyhttp/encode/encode.go
+++ b/modules/caddyhttp/encode/encode.go
@@ -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