From cf6d842d457ad7e756579316bf730af5666f3ca5 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 24 Nov 2009 15:22:06 +0000 Subject: [PATCH] Fix warning SVN Revision: 2758 --- src/web/mod_http_fileserver.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/mod_http_fileserver.erl b/src/web/mod_http_fileserver.erl index 09472ce17..7b330c81b 100644 --- a/src/web/mod_http_fileserver.erl +++ b/src/web/mod_http_fileserver.erl @@ -314,7 +314,7 @@ serve(LocalPath, DocRoot, DirectoryIndices, CustomHeaders, DefaultContentType, C %% Troll through the directory indices attempting to find one which %% works, if none can be found, return a 404. -serve_index(_FileName, [], CH, _DefaultContentType, _ContentTypes) -> +serve_index(_FileName, [], _CH, _DefaultContentType, _ContentTypes) -> ?HTTP_ERR_FILE_NOT_FOUND; serve_index(FileName, [Index | T], CH, DefaultContentType, ContentTypes) -> IndexFileName = filename:join([FileName] ++ [Index]),