summaryrefslogtreecommitdiff
path: root/src/server/mvd.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2012-11-11 18:19:59 +0400
committerAndrey Nazarov <skuller@skuller.net>2012-11-11 18:19:59 +0400
commit5ae5fa3733e1291a88beb6413f771ee8c32f1c2b (patch)
tree9faf5ea7baf2b9a5eaf313e1e215f852745386d0 /src/server/mvd.c
parenta8e0a1859212d7712dfaf3df812c06251359ab5e (diff)
Stop using zlib OF() macro.
This thing does nothing in ANSI C and causes problems with distributions that remove it from zlib headers (e.g. Gentoo).
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;