mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 15:32:35 +00:00
corrected some message formats
This commit is contained in:
parent
4c9898446d
commit
97db9bce50
3 changed files with 3 additions and 3 deletions
2
hostan.c
2
hostan.c
|
@ -67,7 +67,7 @@ static int iffan(FILE *outfile) {
|
|||
strcpy(ifr.ifr_name, ifp->ifr_name);
|
||||
if (Ioctl(s, SIOCGIFINDEX, &ifr) < 0) {
|
||||
Error3("ioctl(%d, SIOCGIFINDEX, {\"%s\"}): %s",
|
||||
s, &ifr.ifr_name, strerror(errno));
|
||||
s, ifr.ifr_name, strerror(errno));
|
||||
return 1;
|
||||
}
|
||||
#if HAVE_STRUCT_IFREQ_IFR_INDEX
|
||||
|
|
|
@ -863,7 +863,7 @@ int
|
|||
} else {
|
||||
if (SSL_CTX_set_tmp_dh(*ctx, dh) <= 0) {
|
||||
while (err = ERR_get_error()) {
|
||||
Warn1("SSL_CTX_set_tmp_dh(%p, %p): %s",
|
||||
Warn3("SSL_CTX_set_tmp_dh(%p, %p): %s", *ctx, dh,
|
||||
ERR_error_string(err, NULL));
|
||||
}
|
||||
Error2("SSL_CTX_set_tmp_dh(%p, %p) failed", *ctx, dh);
|
||||
|
|
|
@ -337,7 +337,7 @@ int _xioopen_proxy_connect(struct single *xfd,
|
|||
|
||||
Info("sending \"\\r\\n\"");
|
||||
if (writefull(xfd->fd, "\r\n", 2) < 0) {
|
||||
Msg2(level, "write(%d, %p, "F_Zu"): %s",
|
||||
Msg2(level, "write(%d, \"\\r\\n\", 2): %s",
|
||||
xfd->fd, strerror(errno));
|
||||
if (Close(xfd->fd) < 0) {
|
||||
Info2("close(%d): %s", xfd->fd, strerror(errno));
|
||||
|
|
Loading…
Reference in a new issue