From cfebbae3eff0a1a67c5dd5bf7d3333e1a6350274 Mon Sep 17 00:00:00 2001 From: Anurag Kar Date: Mon, 21 Jan 2019 16:08:03 +0530 Subject: [PATCH] esp_http_server : Remove casual use of 'template' keyword Closes https://github.com/espressif/esp-idf/issues/2956 --- components/esp_http_server/include/esp_http_server.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/esp_http_server/include/esp_http_server.h b/components/esp_http_server/include/esp_http_server.h index 7e26753a4..94dbb30c3 100644 --- a/components/esp_http_server/include/esp_http_server.h +++ b/components/esp_http_server/include/esp_http_server.h @@ -797,14 +797,14 @@ esp_err_t httpd_query_key_value(const char *qry, const char *key, char *val, siz * * The special characters "?" and "*" anywhere else in the template will be taken literally. * - * @param[in] template URI template (pattern) - * @param[in] uri URI to be matched - * @param[in] len how many characters of the URI buffer to test - * (there may be trailing query string etc.) + * @param[in] uri_template URI template (pattern) + * @param[in] uri_to_match URI to be matched + * @param[in] match_upto how many characters of the URI buffer to test + * (there may be trailing query string etc.) * * @return true if a match was found */ -bool httpd_uri_match_wildcard(const char *template, const char *uri, size_t len); +bool httpd_uri_match_wildcard(const char *uri_template, const char *uri_to_match, size_t match_upto); /** * @brief API to send a complete HTTP response.