shithub: choc

Download patch

ref: 30673d2389ddc5aa501b1feeb5fba16c7ff12802
parent: 0032332dac5b6a7b743b65c0b53ed716f79ba423
author: Turo Lamminen <turotl@gmail.com>
date: Tue Dec 11 14:40:18 EST 2018

net: Make NET_SV_SendConsoleMessage 's' parameter const

--- a/src/net_server.c
+++ b/src/net_server.c
@@ -186,7 +186,7 @@
 
 // Send a message to be displayed on a client's console
 
-static void NET_SV_SendConsoleMessage(net_client_t *client, char *s, ...)
+static void NET_SV_SendConsoleMessage(net_client_t *client, const char *s, ...)
 {
     char buf[1024];
     va_list args;