summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2019-02-21 14:58:39 +0200
committerWim Taymans <wim.taymans@gmail.com>2019-04-02 23:26:17 +0200
commit40a5063b9f176dc9b233ef615706af557a431790 (patch)
treee7185ca437ec38ac511227167aa7f0d149b1cd5b /src
parent7a7a12138fb3818ac7ca3445f657ec460cf7d9c0 (diff)
module-link-factory: fix wrong goto label
harmless, but leads to a wrong error message being printed
Diffstat (limited to 'src')
-rw-r--r--src/modules/module-link-factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-link-factory.c b/src/modules/module-link-factory.c
index 70e53836..d40315df 100644
--- a/src/modules/module-link-factory.c
+++ b/src/modules/module-link-factory.c
@@ -200,7 +200,7 @@ static void *create_object(void *_data,
else {
global = pw_core_find_global(core, input_port_id);
if (global == NULL || pw_global_get_type(global) != PW_TYPE_INTERFACE_Port)
- goto no_output_port;
+ goto no_input_port;
inport = pw_global_get_object(global);
}