mirror of
https://github.com/moparisthebest/socat
synced 2024-12-21 22:48:48 -05:00
xioopts.c: added cast for ip4addr in error message
This commit is contained in:
parent
a8ff9481e9
commit
29d3f9438b
@ -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 New Issue
Block a user