This is an automated email from the ASF dual-hosted git repository. rob pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
commit bf670c05a4c884c02723cfa861bd0c9a5dd6823b Author: Jan van Doorn <j...@knutsel.com> AuthorDate: Sat May 26 08:59:35 2018 -0600 Remove more sprintfs --- grove/plugin/range_req_handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grove/plugin/range_req_handler.go b/grove/plugin/range_req_handler.go index c09c3cc..3834b39 100644 --- a/grove/plugin/range_req_handler.go +++ b/grove/plugin/range_req_handler.go @@ -184,9 +184,9 @@ func rangeReqHandleBeforeRespond(icfg interface{}, d BeforeRespondData) { body = append(body, bSlice...) } if multipart { - body = append(body, []byte(fmt.Sprintf("\r\n--%s--\r\n", multipartBoundaryString))...) + body = append(body, []byte("\r\n--"+multipartBoundaryString+"--\r\n")...) } - d.Hdr.Set("Content-Length", fmt.Sprintf("%d", len(body))) + d.Hdr.Set("Content-Length", strconv.Itoa(len(body))) *d.Body = body *d.Code = http.StatusPartialContent return -- To stop receiving notification emails like this one, please contact r...@apache.org.