Code to implement HTTP requests done. Also, rewrote str_to_int64, str_to_double
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user