From: Christopher Faulet Date: Mon, 22 Oct 2018 07:13:31 +0000 (+0200) Subject: CLEANUP: http: Remove the unused function http_find_header X-Git-Tag: v1.9-dev5~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66943a49033f71ace1fda6007a9f7fdc470ad83f;p=thirdparty%2Fhaproxy.git CLEANUP: http: Remove the unused function http_find_header --- diff --git a/src/proto_http.c b/src/proto_http.c index 1c1b24b900..e0ae82ee90 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -333,13 +333,6 @@ int http_find_header2(const char *name, int len, return 0; } -int http_find_header(const char *name, - char *sol, struct hdr_idx *idx, - struct hdr_ctx *ctx) -{ - return http_find_header2(name, strlen(name), sol, idx, ctx); -} - /* Remove one value of a header. This only works on a returned by one of * the http_find_header functions. The value is removed, as well as surrounding * commas if any. If the removed value was alone, the whole header is removed.