mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-22 22:49:58 +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 += "\"selected\": "+getAPSelected(i);
|
||||
json += "}";
|
||||
if(i!=results-1) json += ",";
|
||||
if((i!=results-1) && (i!=maxResults-1)) json += ",";
|
||||
}
|
||||
json += "] }";
|
||||
return json;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user