summaryrefslogtreecommitdiff
path: root/src/server/mvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/mvd.c')
-rw-r--r--src/server/mvd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/mvd.c b/src/server/mvd.c
index 7234aa6..aa9586a 100644
--- a/src/server/mvd.c
+++ b/src/server/mvd.c
@@ -1424,8 +1424,8 @@ static void parse_hello(gtv_client_t *client)
#if USE_ZLIB
// the rest of the stream will be deflated
if (flags & GTF_DEFLATE) {
- client->z.zalloc = SV_Zalloc;
- client->z.zfree = SV_Zfree;
+ client->z.zalloc = SV_zalloc;
+ client->z.zfree = SV_zfree;
if (deflateInit(&client->z, Z_DEFAULT_COMPRESSION) != Z_OK) {
drop_client(client, "deflateInit failed");
return;