winhttp: Do not use countof() on pointer argument
This commit is contained in:
@@ -211,7 +211,7 @@ static bool parse_uri(private_winhttp_fetcher_t *this, char *uri,
|
|||||||
}
|
}
|
||||||
if (comps.dwExtraInfoLength)
|
if (comps.dwExtraInfoLength)
|
||||||
{
|
{
|
||||||
wcsncat(path, extra, countof(path) - comps.dwUrlPathLength - 1);
|
wcsncat(path, extra, pathlen - comps.dwUrlPathLength - 1);
|
||||||
}
|
}
|
||||||
if (comps.nPort)
|
if (comps.nPort)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user