X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Futils%2Fcounter%2Fcounter.c;h=f61ee043b0fb26ec99cc49c2d3b37af7a5d838ee;hb=ca02df0ad8ae9a1a3640956d91ca31059d0b203a;hp=0bbecd0e5800ecb4362cd65162d6302145c05894;hpb=51f97fcc8c58d17aa224c150735f7e256e796f4e;p=babeltrace.git diff --git a/src/plugins/utils/counter/counter.c b/src/plugins/utils/counter/counter.c index 0bbecd0e..f61ee043 100644 --- a/src/plugins/utils/counter/counter.c +++ b/src/plugins/utils/counter/counter.c @@ -222,8 +222,8 @@ counter_graph_is_configured( counter = bt_self_component_get_data( bt_self_component_sink_as_self_component(comp)); BT_ASSERT(counter); - iterator = bt_self_component_port_input_message_iterator_create( - bt_self_component_sink_borrow_input_port_by_name(comp, + iterator = bt_self_component_port_input_message_iterator_create_from_sink_component( + comp, bt_self_component_sink_borrow_input_port_by_name(comp, in_port_name)); if (!iterator) { status = BT_COMPONENT_CLASS_SINK_GRAPH_IS_CONFIGURED_METHOD_STATUS_MEMORY_ERROR;