mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-20 02:46:53 +01:00
Use String's length() instead of size().
This commit is contained in:
parent
4adb2423d2
commit
a6eb8377a6
@ -256,7 +256,7 @@ void SimpleWebServerRequest::set_parser_path(const String &value) {
|
||||
}
|
||||
|
||||
String key = cp.substr_index(0, eq);
|
||||
String val = cp.substr_index(eq + 1, cp.size());
|
||||
String val = cp.substr_index(eq + 1, cp.length());
|
||||
|
||||
if (key.empty() || val.empty()) {
|
||||
// &=v& or &p=&
|
||||
|
Loading…
Reference in New Issue
Block a user