mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Make a debug message into a warning message, so it'll be logged more often
(since it's useful), and make it print out the file that it failed to find, so that users can figure out what to do. svn path=/icecast/trunk/icecast/; revision=8934
This commit is contained in:
parent
533dfb6b0f
commit
bada4b1c41
@ -105,7 +105,8 @@ static xsltStylesheetPtr xslt_get_stylesheet(const char *fn) {
|
|||||||
struct stat file;
|
struct stat file;
|
||||||
|
|
||||||
if(stat(fn, &file)) {
|
if(stat(fn, &file)) {
|
||||||
DEBUG1("Error checking for stylesheet file: %s", strerror(errno));
|
WARN2("Error checking for stylesheet file \"%s\": %s", fn,
|
||||||
|
strerror(errno));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user