diff options
author | Badlop <badlop@process-one.net> | 2009-12-03 22:53:39 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-12-03 22:53:39 +0000 |
commit | 2265f52c340f89131dfaf300e6c731246218c79e (patch) | |
tree | 2f2a3f32c07141f3dc18174c497a7e4ffafa7fcf /src | |
parent | Use os:getenv to get HOME; if variable is undefined use default values. (diff) |
Fix warning of unused variable
SVN Revision: 2776
Diffstat (limited to 'src')
-rw-r--r-- | src/web/mod_http_fileserver.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/mod_http_fileserver.erl b/src/web/mod_http_fileserver.erl index 0b0f62f05..0711e951a 100644 --- a/src/web/mod_http_fileserver.erl +++ b/src/web/mod_http_fileserver.erl @@ -319,7 +319,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]), |