]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
forgot to give strlcat a size
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 15 Oct 2004 23:22:38 +0000 (23:22 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 15 Oct 2004 23:22:38 +0000 (23:22 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4640 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index dab3c3c16ca31279992b76012bd95c99c7093648..3a2ee9192ee08721323beaad4fc9b4e61e21d365 100644 (file)
@@ -833,7 +833,7 @@ void Host_Say(qboolean teamonly)
                p2[-1] = 0;
                p2--;
        }
-       strlcat(text, "\n");
+       strlcat(text, "\n", sizeof(text));
 
        // note: save is not a valid edict if fromServer is true
        save = host_client;