Author: cazfi
Date: Mon Nov 30 05:53:45 2015
New Revision: 30808

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

See bug #24123

Modified:
    branches/S2_6/client/packhand.c

Modified: branches/S2_6/client/packhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/packhand.c?rev=30808&r1=30807&r2=30808&view=diff
==============================================================================
--- branches/S2_6/client/packhand.c     (original)
+++ branches/S2_6/client/packhand.c     Mon Nov 30 05:53:45 2015
@@ -3001,7 +3001,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