diff options
Diffstat (limited to 'modules/eventsource/event.go')
-rw-r--r-- | modules/eventsource/event.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/eventsource/event.go b/modules/eventsource/event.go index 8fc3221c18..9fe20715e3 100644 --- a/modules/eventsource/event.go +++ b/modules/eventsource/event.go @@ -14,7 +14,7 @@ import ( "code.gitea.io/gitea/modules/json" ) -func wrapNewlines(w io.Writer, prefix []byte, value []byte) (sum int64, err error) { +func wrapNewlines(w io.Writer, prefix, value []byte) (sum int64, err error) { if len(value) == 0 { return } |