shithub: choc

Download patch

ref: 837a1ce0a96414e91e708804e341b8a559108b83
parent: fde56790b5127d320afa6e2cee6e7a07bc986227
author: Turo Lamminen <turotl@gmail.com>
date: Tue Dec 11 14:42:31 EST 2018

net: Make NET_SV_SendReject msg parameter const

--- a/src/net_server.c
+++ b/src/net_server.c
@@ -546,7 +546,7 @@
 
 // send a rejection packet to a client
 
-static void NET_SV_SendReject(net_addr_t *addr, char *msg)
+static void NET_SV_SendReject(net_addr_t *addr, const char *msg)
 {
     net_packet_t *packet;