]> git.ipfire.org Git - thirdparty/curl.git/commit
tests/server: give global `path` variable a more descriptive name
authorViktor Szakats <commit@vsz.me>
Wed, 12 Mar 2025 21:35:23 +0000 (22:35 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 14 Mar 2025 11:04:39 +0000 (12:04 +0100)
commit43b28846555248d225311f278133d267dedbc118
tree5bff29f0aa2e44f25330507ba8dfb28fd04ef8f1
parent3588df9478d7c27046b34cdb510728a26bedabc7
tests/server: give global `path` variable a more descriptive name

Use a more descriptive global variable name in server code, also
to avoid colliding with this name used elsewhere in libcurl.

This isn't causing an issue at this time, but makes the code prone
to `-Wshadow` warnings in unity mode, if the global variable is
compiled first. This specific variable could collide with the `path`
argument of the `curlx_win32_stat()` function.

Closes #16719
tests/server/rtspd.c
tests/server/sws.c
tests/server/tftpd.c
tests/server/util.c
tests/server/util.h