[Freeciv-Dev] (PR#4520) new function request_diplomat_action
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
When sending a diplomatic action request to the server, the GUI code
fills out the fields of the struct then calls
send_packet_diplomat_action. This is unnecessarily verbose, and also
leads to some uninitialized data (the value field) being sent over the
network.
By introducing a new function request_diplomat_action we can avoid the
uninitialized data problem while making the code more concise and readible.
jason
request_diplomat_action.diff
Description: request_diplomat_action.diff
- [Freeciv-Dev] (PR#4520) new function request_diplomat_action,
Jason Short <=
|
|