Mercurial > audlegacy
comparison src/audacious/vfs.c @ 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 | f4971c7d6384 |
children | 2520e8b6cf5e |
comparison
equal
deleted
inserted
replaced
2986:4fb16b502a06 | 2987:7f17c37db82b |
---|---|
83 } | 83 } |
84 } | 84 } |
85 | 85 |
86 /* no transport vtable has been registered, bail. */ | 86 /* no transport vtable has been registered, bail. */ |
87 if (vtable == NULL) | 87 if (vtable == NULL) |
88 { | |
89 g_warning("could not open '%s', no transport plugin available", decpath); | |
88 return NULL; | 90 return NULL; |
91 } | |
89 | 92 |
90 file = vtable->vfs_fopen_impl(decpath, mode); | 93 file = vtable->vfs_fopen_impl(decpath, mode); |
91 | 94 |
92 if (file == NULL) | 95 if (file == NULL) |
93 return NULL; | 96 return NULL; |