Attention is currently required from: laforge. pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-remsim/+/31179 )
Change subject: rest_api: strtoul canot return negative ......................................................................
Patch Set 1: Code-Review-1
(1 comment)
File src/server/rest_api.c:
https://gerrit.osmocom.org/c/osmo-remsim/+/31179/comment/5c584f85_4d41f223 PS1, Line 413: if (map_id == ULONG_MAX) { man strtoul: """ Since strtoul() can legitimately return 0 or ULONG_MAX (ULLONG_MAX for strtoull()) on both success and failure, the calling program should set errno to 0 before the call, and then determine if an error occurred by checking whether errno has a nonzero value after the call. """