#44801: Json protocol dio_put_*() to return int Open Date: 2022-06-11 21:34 Last Update: 2022-06-12 19:20 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44801 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44801 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-12 19:20 Updated by: cazfi * Resolution Update from None to Accepted Comment: Reply To cazfi the "use" would be checking the error value, and certainly it should be made when ever error might have been set. Fixed. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.2.0 Component: General Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Split from https://www.hostedredmine.com/issues/745593 and continuation to #44458 Turn dio_put_*() return value to int, though all the functions can return just 0 at this point. Port parts of generate_packets.py changes from https://www.hostedredmine.com/issues/745593 that the API change allows. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44801 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44801