From ea76477982c9f7aa179a2c85cf9b8852daed5321 Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Mon, 3 Dec 2007 11:08:56 +0000 Subject: [PATCH] Don't use Host_Error() here. Use VFSTCP_Error(). git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2800 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/net_wins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/net_wins.c b/engine/common/net_wins.c index 6896128e2..f83f7e833 100644 --- a/engine/common/net_wins.c +++ b/engine/common/net_wins.c @@ -2208,7 +2208,7 @@ int VFSTCP_ReadBytes (struct vfsfile_s *file, void *buffer, int bytestoread) if (bytestoread > tf->readbuffered) bytestoread = tf->readbuffered; if (bytestoread < 0) - Host_Error("VFSTCP_ReadBytes: negative size request\n"); + VFSTCP_Error(tf); if (bytestoread > 0) {