diff options
author | WeidiDeng <[email protected]> | 2024-12-08 18:10:06 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-08 18:10:06 +0800 |
commit | e1141c187038e20ddbbbcdc51824fca4489064a4 (patch) | |
tree | cb7522d0b4a1ae0d04a37ddef42379a04f37fcc7 | |
parent | 7ba98c00834f65196891965228b32acdd514fd55 (diff) | |
download | caddy-e1141c187038e20ddbbbcdc51824fca4489064a4.tar.gz caddy-e1141c187038e20ddbbbcdc51824fca4489064a4.zip |
fix compile
-rw-r--r-- | modules/caddyhttp/encode/encode.go | 2 |
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 |