Commit a8d602fe authored by Ed "oddsock" Zaleski's avatar Ed "oddsock" Zaleski
Browse files

fixed check for regular file type in win32-specific code

svn path=/trunk/icecast/; revision=4879
parent be325ccd
......@@ -727,7 +727,7 @@ static void _handle_get_request(connection_t *con,
else if(fileserve && stat(fullpath, &statbuf) == 0 &&
#ifdef _WIN32
(statbuf.st_mode == S_IFREG))
((statbuf.st_mode) & _S_IFREG))
Supports Markdown
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