diff options
Diffstat (limited to 'src/DecoderPrint.cxx')
-rw-r--r-- | src/DecoderPrint.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/DecoderPrint.cxx b/src/DecoderPrint.cxx index 3f7f94937..6d5bd4f30 100644 --- a/src/DecoderPrint.cxx +++ b/src/DecoderPrint.cxx @@ -31,17 +31,17 @@ decoder_plugin_print(Client *client, { const char *const*p; - assert(plugin != NULL); - assert(plugin->name != NULL); + assert(plugin != nullptr); + assert(plugin->name != nullptr); client_printf(client, "plugin: %s\n", plugin->name); - if (plugin->suffixes != NULL) - for (p = plugin->suffixes; *p != NULL; ++p) + if (plugin->suffixes != nullptr) + for (p = plugin->suffixes; *p != nullptr; ++p) client_printf(client, "suffix: %s\n", *p); - if (plugin->mime_types != NULL) - for (p = plugin->mime_types; *p != NULL; ++p) + if (plugin->mime_types != nullptr) + for (p = plugin->mime_types; *p != nullptr; ++p) client_printf(client, "mime_type: %s\n", *p); } |