autolink: fix else branch

This commit is contained in:
Wim Taymans 2018-04-25 15:49:59 +02:00
parent ced868c208
commit bad8dac56e

View file

@ -372,7 +372,7 @@ static void on_node_created(struct node_info *info)
if (strcmp(category, "Capture") == 0)
direction = PW_DIRECTION_OUTPUT;
if (strcmp(category, "Playback") == 0)
else if (strcmp(category, "Playback") == 0)
direction = PW_DIRECTION_INPUT;
else
return;