summaryrefslogtreecommitdiff
path: root/src/mvd_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mvd_client.c')
-rw-r--r--src/mvd_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mvd_client.c b/src/mvd_client.c
index 22c9da7..3c098d9 100644
--- a/src/mvd_client.c
+++ b/src/mvd_client.c
@@ -1579,7 +1579,7 @@ static void gtv_destroy(gtv_t *gtv)
}
// make sure network connection is closed
- NET_Close(&gtv->stream);
+ NET_CloseStream(&gtv->stream);
// unlink from the list of connections
List_Remove(&gtv->entry);
@@ -1624,7 +1624,7 @@ static void gtv_drop(gtv_t *gtv)
Com_FormatTimeLong(buffer, sizeof(buffer), sec);
Com_Printf("[%s] -=- Reconnecting in %s.\n", gtv->name, buffer);
- NET_Close(&gtv->stream);
+ NET_CloseStream(&gtv->stream);
#if USE_ZLIB
inflateReset(&gtv->z_str);
FIFO_Clear(&gtv->z_buf);