CLEANUP: Reapply the ist2() replacement patch

One location was not matched due to a typo. Reapply the patch for consistency.

see 92c696e663ab4bbcffd5dc0afedf1d0afd1c7279
see a3298023b04923ba12429d79c559dc7a850ae122
This commit is contained in:
Tim Duesterhus 2021-03-02 18:57:26 +01:00 committed by Willy Tarreau
parent a3298023b0
commit 9f75ed114f

View File

@ -5360,8 +5360,7 @@ static size_t h2s_bck_make_req_headers(struct h2s *h2s, struct htx *htx)
if (len + 2 < uri.len && uri.ptr[len + 1] == '/' && uri.ptr[len + 2] == '/') {
/* make the uri start at the authority now */
scheme.ptr = uri.ptr;
scheme.len = len;
scheme = ist2(uri.ptr, len);
uri.ptr += len + 3;
uri.len -= len + 3;