Code to implement HTTP requests done. Also, rewrote str_to_int64, str_to_double

This commit is contained in:
2022-04-15 17:24:07 -04:00
parent 453809b65c
commit b6d603034e
17 changed files with 3705 additions and 99 deletions

View File

@@ -434,8 +434,8 @@ void World::invoke_flush_prints(int64_t actor_id, int64_t place_id, const eng::s
if (actor_id != place_id) {
return;
}
int line = util::strtoint(action, -1);
if (line < 0) {
int64_t line = util::str_to_int64(action, -1);
if ((line < 0)||(line > INT_MAX)) {
return;
}
Tangible *tactor = tangible_get(actor_id);