urlapi: skip a strlen(), pass in zero

... to let curl_easy_escape() itself do the strlen. This avoids a (false
positive) Coverity warning and it avoids us having to store the strlen()
return value in an int variable.

Reviewed-by: Daniel Gustafsson
Closes #7862
This commit is contained in:
Daniel Stenberg 2021-10-15 16:29:52 +02:00
parent ccb466fd36
commit efffa66f65
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 3 deletions

View file

@ -2,7 +2,7 @@
<info>
<keywords>
unittest
URL API
URLAPI
</keywords>
</info>