changeset 2987:7f17c37db82b trunk

Log a warning if an adequate transport was not found.
author William Pitcock <nenolod@atheme-project.org>
date Thu, 05 Jul 2007 01:25:56 -0500
parents 4fb16b502a06
children 43a075cb5c81
files src/audacious/vfs.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/vfs.c	Thu Jul 05 00:56:01 2007 -0500
+++ b/src/audacious/vfs.c	Thu Jul 05 01:25:56 2007 -0500
@@ -85,7 +85,10 @@
 
     /* no transport vtable has been registered, bail. */
     if (vtable == NULL)
+    {
+        g_warning("could not open '%s', no transport plugin available", decpath);
         return NULL;
+    }
 
     file = vtable->vfs_fopen_impl(decpath, mode);