Length computed by count_string() are accumulated in an apr_size_t, so be more consistent and use this data type also in this function.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1900564 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christophe Jaillet
2022-05-04 20:28:32 +00:00
parent 44f33d54fd
commit 2cf2f54a0b

View File

@ -146,9 +146,9 @@ typedef struct hlog {
apr_size_t count;
} hlog;
static int count_string(const char *p)
static apr_size_t count_string(const char *p)
{
int n;
apr_size_t n;
for (n = 0 ; *p ; ++p, ++n)
if (TEST_CHAR(*p, T_ESCAPE_FORENSIC))