1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

node: fix invalid assertion in node_type()

This commit is contained in:
Steffen Vogel 2018-07-16 20:26:23 +02:00
parent 7a3abc706e
commit e243dce812

View file

@ -556,7 +556,7 @@ int node_fd(struct node *n)
struct node_type * node_type(struct node *n)
{
assert(n->state == STATE_INITIALIZED);
assert(n->state != STATE_DESTROYED);
return n->_vt;
}