mirror of
https://repo.or.cz/socat.git
synced 2025-07-06 04:56:33 +00:00
Corrected printf format for type socklen_t in two places; minor corrs in test.sh
This commit is contained in:
parent
2882ac6976
commit
db80b7752a
4 changed files with 15 additions and 14 deletions
|
@ -286,7 +286,7 @@ static int xioopen_unix_connect(int argc, const char *argv[], struct opt *opts,
|
|||
if (result != 0) {
|
||||
char infobuff[256];
|
||||
/* we caller must handle this */
|
||||
Msg3(level, "connect(, %s, "F_Zd"): %s",
|
||||
Msg3(level, "connect(, %s, "F_socklen"): %s",
|
||||
sockaddr_info((struct sockaddr *)&them, themlen, infobuff, sizeof(infobuff)),
|
||||
themlen, strerror(errno));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue