diff options
author | Yorhel <git@yorhel.nl> | 2012-03-26 13:23:14 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2012-03-26 13:23:14 +0200 |
commit | a77352ccee11e5efeee0b349a42ca4b91f708c88 (patch) | |
tree | fc2699108698d2be852e29fa4e6b966369cb398e | |
parent | 91efcdc2c7fcf133b4761e65fec48e9e2b303319 (diff) |
-rw-r--r-- | tanja.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1859,7 +1859,8 @@ static inline void tn_link_handlehandshake(tn_link *l, const char *buf, int len) } else { mutex_lock(l->node->lock); mutex_lock(l->lock); - l->catchall = tn_node_register(l->node, patternreg_new_link(tn_tuple_new(""), l)); + if(l->active) + l->catchall = tn_node_register(l->node, patternreg_new_link(tn_tuple_new(""), l)); mutex_unlock(l->lock); mutex_unlock(l->node->lock); l->synced = 1; |