diff --git a/src/modules/module-link-factory.c b/src/modules/module-link-factory.c index 70e538360..d40315df7 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); }