shithub: choc

Download patch

ref: a857a1416367b80da4c2f447efbb63d8e53eb120
parent: 264ff372986563deb5bf9b7ddcb40424863af7e0
author: Turo Lamminen <turotl@gmail.com>
date: Wed Dec 12 07:24:08 EST 2018

net: Fix format string warning

--- a/src/net_server.c
+++ b/src/net_server.c
@@ -220,7 +220,7 @@
     {
         if (ClientConnected(&clients[i]))
         {
-            NET_SV_SendConsoleMessage(&clients[i], buf);
+            NET_SV_SendConsoleMessage(&clients[i], "%s", buf);
         }
     }