mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-14 23:21:31 +10:00
Oops
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ WiFiManagerParameter::~WiFiManagerParameter() {
|
||||
|
||||
void WiFiManagerParameter::setValue(const char *defaultValue, int length) {
|
||||
_length = length;
|
||||
deflength = strlen(defaultValue); // length actual
|
||||
int deflength = strlen(defaultValue); // length actual
|
||||
// use the defult length if it's longer,
|
||||
// @todo consider it might be useful to fail, so user knows they were wrong
|
||||
if(_length < length){
|
||||
|
||||
Reference in New Issue
Block a user