summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2009-01-14 00:37:38 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2009-01-14 00:37:38 +0000
commit9776c5dad4e77cb84f27961a50cc24993785e54a (patch)
tree19869b5067f7fcab4ca851a33e478bf91cadb9e2
parent04510412a0ae08abb10ccdad72577bca689edea4 (diff)
downloadxine-lib-9776c5dad4e77cb84f27961a50cc24993785e54a.tar.gz
xine-lib-9776c5dad4e77cb84f27961a50cc24993785e54a.tar.bz2
Avoid printing "plugin foo found" if the filename is null.
(Bug 182)
-rw-r--r--src/xine-engine/load_plugins.c2
1 files changed, 1 insertions, 1 deletions
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