Ensure tinc compiles with gcc -std=c99.
We use a lot of C99 features already, but also some extensions which are not in the standard.
This commit is contained in:
parent
f52ea0a7eb
commit
9b394bc887
5 changed files with 23 additions and 29 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, c->status.value);
|
||||
c->name, c->hostname, *(uint32_t *)&c->status);
|
||||
connection_del(c);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue