1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-15 23:53:25 +00:00

Lots of minor corrections

This commit is contained in:
Gerhard Rieger 2023-10-01 19:53:55 +02:00
parent 7d6295114b
commit 1c1a91027a
19 changed files with 197 additions and 78 deletions

View file

@ -517,12 +517,18 @@ static int xioopen_socks5(
char infobuff[256];
if (!xioparms.experimental) {
Error1("%s: requires option --experimental", argv[0]);
Error1("%s: use option --experimental to acknowledge unmature state", argv[0]);
return STAT_NORETRY;
}
if (argc != 5) {
Error1("%s: 4 parameters required like :<socks-server>:<socks-port>:<target-server>:<target-port>",
argv[0]);
#if WITH_HELP
Error2("%s: 4 parameters required like %s", argv[0],
socks_command==SOCKS5_COMMAND_CONNECT ?
xioaddr_socks5_connect.syntax :
xioaddr_socks5_listen.syntax);
#else
Error1("%s: 4 parameters required", argv[0]);
#endif
return STAT_NORETRY;
}