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:
parent
7a3abc706e
commit
e243dce812
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue