Berthold Stoeger 3c0398f9ff uemis-downloader: make newmax an integer variable
newmax was an integer variable kept as a string. Very ominous.

Moreover, memory management seems to be broken:

1) The string is never freed.

2) The string is passed as value from do_uemis_import() to
   get_matching_dives(), which passes it as reference to
   process_raw_buffer(), which may reallocate it, which means
   that do_uemis_import() now possesses a pointer to a free()d
   string.

Simplify all that by making newmax an integer variable and
passing it as a reference from do_uemis_import() to
get_matching_dives().

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-06-09 11:20:37 +02:00
..
2024-06-09 11:20:37 +02:00
2024-06-09 11:20:37 +02:00
2024-02-23 09:46:16 -08:00
2017-04-29 13:32:55 -07:00
2024-05-31 18:55:47 +02:00
2020-09-29 16:13:03 -07:00
2022-11-08 10:43:47 -08:00
2024-06-09 11:20:37 +02:00
2023-06-12 08:04:30 -07:00
2024-05-31 18:55:47 +02:00
2024-05-31 18:55:47 +02:00
2024-06-09 11:20:37 +02:00
2018-10-21 19:55:09 +03:00
2023-04-14 21:20:23 +02:00
2024-01-17 14:23:19 -08:00
2024-05-30 11:54:51 +02:00
2022-03-12 08:28:32 -08:00
2024-06-09 11:20:37 +02:00
2024-06-09 11:20:37 +02:00
2019-12-13 07:04:00 -05:00
2024-06-09 11:20:37 +02:00
2024-03-10 11:01:42 +13:00
2024-06-09 11:20:37 +02:00
2024-04-23 07:47:11 +07:00
2020-03-10 17:42:54 -07:00
2020-03-10 17:42:54 -07:00
2024-06-09 11:20:37 +02:00
2024-06-09 11:20:37 +02:00
2024-06-09 11:20:37 +02:00
2024-01-06 10:55:24 -08:00