Commit 3cfce3b9 authored by PhiBo's avatar PhiBo 🚀

Add missing return

parent 380213da
......@@ -141,9 +141,11 @@ void handleRegister()
}
if(millis() - start_time > 5000) {
server->send(400, "text/plain", "API Timeout");
return;
}
if(i >= 200) {
server->send(400, "text/plain", "Memory Limit");
return;
}
}
client->stop();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment