mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix warning
SVN Revision: 2758
This commit is contained in:
parent
733e84a4a8
commit
cf6d842d45
@ -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]),
|
||||||
|
Loading…
Reference in New Issue
Block a user