X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=blobdiff_plain;f=src%2Fnet.c;h=910e86dd24ef4d7b49f7a5cf61473ef33cad8708;hp=4a2af954c53e871bebae6dd33113017716809708;hb=9b394bc887695da6db74f4b9796b4823e553f8cc;hpb=f52ea0a7eb0383cc2a5f41db1bf24c39424fdb04 diff --git a/src/net.c b/src/net.c index 4a2af95..910e86d 100644 --- a/src/net.c +++ b/src/net.c @@ -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; }