mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-23 15:10:06 +01:00
Merge pull request #26 from andrbmgi/master
fix for APs > maxResults creating invalid json, resulting in empty APlist
This commit is contained in:
@@ -70,7 +70,7 @@ String APScan::getResults(){
|
|||||||
json += "\"vendor\": \""+getAPVendor(i)+"\",";
|
json += "\"vendor\": \""+getAPVendor(i)+"\",";
|
||||||
json += "\"selected\": "+getAPSelected(i);
|
json += "\"selected\": "+getAPSelected(i);
|
||||||
json += "}";
|
json += "}";
|
||||||
if(i!=results-1) json += ",";
|
if((i!=results-1) && (i!=maxResults-1)) json += ",";
|
||||||
}
|
}
|
||||||
json += "] }";
|
json += "] }";
|
||||||
return json;
|
return json;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user