mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 12:26:59 +01:00
Fix shadowed declaration.
This commit is contained in:
parent
ead4b0594b
commit
25323a92b7
@ -247,7 +247,7 @@ void HTTPServerSimple::send_file(const String &p_file_path) {
|
|||||||
String req_ext = p_file_path.get_extension();
|
String req_ext = p_file_path.get_extension();
|
||||||
|
|
||||||
if (!mimes.has(req_ext)) {
|
if (!mimes.has(req_ext)) {
|
||||||
const String ctype = mimes[req_ext];
|
ctype = mimes[req_ext];
|
||||||
} else {
|
} else {
|
||||||
ctype = "text/plain";
|
ctype = "text/plain";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user