<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40515 >
> [EMAIL PROTECTED] - Tue Oct 07 01:59:00 2008]: > > 2008/10/5 Christian Prochaska: > > > > The problem is that send_chat_printf() cuts the /load message > > (and any other message) after 50 characters, so the path gets > > trunkated. > > We should > 1) Make initial buffer bigger so that message usually fits to it > 2) Make buffer dynamically expanding just in case. > > Even with #40518 making dynamic buffer implementation harder, we can > at least make current static buffer bigger. Sorry for not noticing this sooner, but the buffer should probably be of size MAX_LEN_MSG rather than 250 (since this could still be too small in some cases). This ensures that the maximum capacity of the message packet is available for use. ----------------------------------------------------------------------- 私が赤ちゃんであればいいのに。 _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev