Merge remote-tracking branch 'upstream/v0.23.x'

This commit is contained in:
Michael Herstine
2025-01-20 09:44:07 -08:00
27 changed files with 222 additions and 109 deletions

View File

@@ -19,11 +19,11 @@ decoder_plugin_print(Response &r,
assert(plugin.name != nullptr);
r.Fmt(FMT_STRING("plugin: {}\n"), plugin.name);
r.Fmt("plugin: {}\n", plugin.name);
if (plugin.suffixes != nullptr)
for (p = plugin.suffixes; *p != nullptr; ++p)
r.Fmt(FMT_STRING("suffix: {}\n"), *p);
r.Fmt("suffix: {}\n", *p);
if (plugin.suffixes_function != nullptr)
for (const auto &i : plugin.suffixes_function())
@@ -31,7 +31,7 @@ decoder_plugin_print(Response &r,
if (plugin.mime_types != nullptr)
for (p = plugin.mime_types; *p != nullptr; ++p)
r.Fmt(FMT_STRING("mime_type: {}\n"), *p);
r.Fmt("mime_type: {}\n", *p);
}
void