Commit 5a60e7c0 authored by Michael Smith's avatar Michael Smith

Cache-checking is case-insensitive on win32.

svn path=/trunk/icecast/; revision=3811
parent b68b01f0
......@@ -97,7 +97,11 @@ static xsltStylesheetPtr xslt_get_stylesheet(char *fn) {
for(i=0; i < CACHESIZE; i++) {
if(cache[i].filename)
{
#ifdef _WIN32
if(!stricmp(fn, cache[i].filename))
#else
if(!strcmp(fn, cache[i].filename))
#endif
{
if(file.st_mtime > cache[i].last_modified)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment