aboutsummaryrefslogtreecommitdiff
path: root/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'status.go')
-rw-r--r--status.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.go b/status.go
index c88ba11..f92727c 100644
--- a/status.go
+++ b/status.go
@@ -163,7 +163,7 @@ func StatusMessage(statusCode int) string {
return unknownStatusCode
}
-func formatStatusLine(dst []byte, protocol []byte, statusCode int, statusText []byte) []byte {
+func formatStatusLine(dst, protocol []byte, statusCode int, statusText []byte) []byte {
dst = append(dst, protocol...)
dst = append(dst, ' ')
dst = strconv.AppendInt(dst, int64(statusCode), 10)