spacecheck and spellcheck fixes, void sometimes unused param

This commit is contained in:
Stefan Eissing 2025-07-21 12:28:05 +02:00
parent 306e507094
commit 162200fd97
No known key found for this signature in database
4 changed files with 3 additions and 3 deletions

View file

@ -52,7 +52,7 @@ Via curl's `configure` script you may specify:
* `--with-test-httpd=<httpd-install-path>` if you have an Apache httpd installed somewhere else. On Debian/Ubuntu it will otherwise look into `/usr/bin` and `/usr/sbin` to find those.
* `--with-test-caddy=<caddy-install-path>` if you have a Caddy web server installed somewhere else.
* `--with-test-vsftpd=<vsftpd-install-path>` if you have a vsftpd ftp server installed somewhere else.
* `--with-test-sockd=<dante-sockd-path>` if you have dante sockd server installed
* `--with-test-sockd=<dante-sockd-path>` if you have `dante sockd` server installed
## Usage Tips

View file

@ -181,6 +181,7 @@ static void socksstate(struct socks_state *sx,
};
#endif
(void)cf;
(void)data;
if(oldstate == state)
/* do not bother when the new state is the same as the old state */

View file

@ -101,4 +101,3 @@ class TestSocks:
for i in range(count):
respdata = open(curl.response_file(i)).readlines()
assert respdata == indata

View file

@ -145,7 +145,7 @@ class Dante:
'socksmethod: none',
'client pass {',
' from: 127.0.0.0/24 to: 0.0.0.0/0',
' log: error',
' log: error',
'}',
'socks pass {',
' from: 0.0.0.0/0 to: 0.0.0.0/0',