policy-node: don't move to the current target

This commit is contained in:
Wim Taymans 2020-07-20 14:46:44 +02:00
parent 7915bf5778
commit 8c4b594b50

View file

@ -683,6 +683,9 @@ static int handle_move(struct impl *impl, struct node *src_node, struct node *ds
const char *str;
struct pw_node_info *info;
if (src_node->peer == dst_node)
return 0;
if ((info = src_node->obj->info) == NULL)
return -EIO;