one more...

This commit is contained in:
Adam Ierymenko 2016-08-25 16:28:54 -07:00
parent df1ce856c9
commit 858e8c5217

View File

@ -607,7 +607,7 @@ NetworkController::ResultCode EmbeddedNetworkController::doNetworkConfigRequest(
json recentLog = json::array();
recentLog.push_back(rlEntry);
auto oldLog = member["recentLog"];
json &oldLog = member["recentLog"];
if (oldLog.is_array()) {
for(unsigned long i=0;i<oldLog.size();++i) {
recentLog.push_back(oldLog[i]);