aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdline.c')
-rw-r--r--src/cmdline.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmdline.c b/src/cmdline.c
index 4b44892f3..a7e1d42fa 100644
--- a/src/cmdline.c
+++ b/src/cmdline.c
@@ -58,8 +58,7 @@ cmdline_quark(void)
static void
print_all_decoders(FILE *fp)
{
- for (unsigned i = 0; decoder_plugins[i] != NULL; ++i) {
- const struct decoder_plugin *plugin = decoder_plugins[i];
+ decoder_plugins_for_each(plugin) {
const char *const*suffixes;
fprintf(fp, "[%s]", plugin->name);