update readme and fix always playing str (#1139)

* update readme deps

* replace assert

* bump timeout

* fix memory corruption in kernel

* use unknown if level name is invalid
This commit is contained in:
water111
2022-02-08 19:02:47 -05:00
committed by GitHub
parent 3f394ef4d6
commit 78cde74d5a
243 changed files with 3525 additions and 3503 deletions
+2 -2
View File
@@ -23,7 +23,7 @@
#include "common/listener_common.h"
#include "common/versions.h"
#include "Deci2Server.h"
#include "common/util/assert.h"
#include "common/util/Assert.h"
Deci2Server::Deci2Server(std::function<bool()> shutdown_callback) {
buffer = new char[BUFFER_SIZE];
@@ -185,7 +185,7 @@ void Deci2Server::run() {
int got = 0;
while (got < desired_size) {
assert(got + desired_size < BUFFER_SIZE);
ASSERT(got + desired_size < BUFFER_SIZE);
auto x = read_from_socket(new_sock, buffer + got, desired_size - got);
if (want_exit()) {
return;