diff options
Diffstat (limited to 'src/decoder_print.c')
-rw-r--r-- | src/decoder_print.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/decoder_print.c b/src/decoder_print.c index 72c40ac75..e14477ed8 100644 --- a/src/decoder_print.c +++ b/src/decoder_print.c @@ -48,7 +48,6 @@ decoder_plugin_print(struct client *client, void decoder_list_print(struct client *client) { - for (unsigned i = 0; decoder_plugins[i] != NULL; ++i) - if (decoder_plugins_enabled[i]) - decoder_plugin_print(client, decoder_plugins[i]); + decoder_plugins_for_each_enabled(plugin) + decoder_plugin_print(client, plugin); } |