Author: cazfi
Date: Mon Nov 30 05:53:39 2015
New Revision: 30807

URL: http://svn.gna.org/viewcvs/freeciv?rev=30807&view=rev
Log:
Receive last character of the ruleset summary at the client end.

See bug #24123

Modified:
    trunk/client/packhand.c

Modified: trunk/client/packhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/packhand.c?rev=30807&r1=30806&r2=30807&view=diff
==============================================================================
--- trunk/client/packhand.c     (original)
+++ trunk/client/packhand.c     Mon Nov 30 05:53:39 2015
@@ -3040,7 +3040,7 @@
 
   game.ruleset_summary = fc_malloc(len + 1);
 
-  fc_strlcpy(game.ruleset_summary, packet->text, len);
+  fc_strlcpy(game.ruleset_summary, packet->text, len + 1);
 }
 
 /****************************************************************************


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to