25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix warning

SVN Revision: 2758
This commit is contained in:
Badlop 2009-11-24 15:22:06 +00:00
parent 733e84a4a8
commit cf6d842d45

View File

@ -314,7 +314,7 @@ serve(LocalPath, DocRoot, DirectoryIndices, CustomHeaders, DefaultContentType, C
%% Troll through the directory indices attempting to find one which %% Troll through the directory indices attempting to find one which
%% works, if none can be found, return a 404. %% 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; ?HTTP_ERR_FILE_NOT_FOUND;
serve_index(FileName, [Index | T], CH, DefaultContentType, ContentTypes) -> serve_index(FileName, [Index | T], CH, DefaultContentType, ContentTypes) ->
IndexFileName = filename:join([FileName] ++ [Index]), IndexFileName = filename:join([FileName] ++ [Index]),