Follow-up Comment #7, patch #1444 (project freeciv): > Some times ago there was a discussion to include the c-format > string ("%s") in all functions.
Not actually... The real stuff is that you cannot use a string returned by a function directly. (but gettext() has a special case). Personally, I would initialize the reject_msg buffers with "\0" to unsure there won't be displayed random string on code error. _______________________________________________________ Reply to this item at: <http://gna.org/patch/?1444> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev