mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 23:42:34 +00:00
xioopts.c: added cast for ip4addr in error message
This commit is contained in:
parent
a8ff9481e9
commit
29d3f9438b
1 changed files with 1 additions and 1 deletions
|
@ -3090,7 +3090,7 @@ int applyopts(int fd, struct opt *opts, enum e_phase phase) {
|
|||
&opt->value.u_ip4addr, sizeof(opt->value.u_ip4addr)) < 0) {
|
||||
Error6("setsockopt(%d, %d, %d, {0x%x}, "F_Zu"): %s",
|
||||
fd, opt->desc->major, opt->desc->minor,
|
||||
opt->value.u_ip4addr, sizeof(opt->value.u_ip4addr),
|
||||
*(uint32_t *)&opt->value.u_ip4addr, sizeof(opt->value.u_ip4addr),
|
||||
strerror(errno));
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue