Do not break strict aliasing of status_t structs.
This commit is contained in:
parent
2077451e07
commit
eb391c52ee
4 changed files with 28 additions and 22 deletions
|
|
@ -251,7 +251,7 @@ static void check_dead_connections(void)
|
|||
} else {
|
||||
if(c->status.remove) {
|
||||
logger(LOG_WARNING, _("Old connection_t for %s (%s) status %04x still lingering, deleting..."),
|
||||
c->name, c->hostname, *(uint32_t *)&c->status);
|
||||
c->name, c->hostname, c->status.value);
|
||||
connection_del(c);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue