From 9776c5dad4e77cb84f27961a50cc24993785e54a Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Wed, 14 Jan 2009 00:37:38 +0000 Subject: Avoid printing "plugin foo found" if the filename is null. (Bug 182) --- src/xine-engine/load_plugins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 4f7492c65..30bf58e6c 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -485,7 +485,7 @@ static void _register_plugins_internal(xine_t *this, plugin_file_t *file, plugin while ( info && info->type != PLUGIN_NONE ) { - if (file) + if (file && file->filename) xine_log (this, XINE_LOG_PLUGIN, _("load_plugins: plugin %s found\n"), file->filename); else -- cgit v1.2.3