[iortcw] 43/497: All: Fix sending pk3 download error messages to clients

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 3a6b77035c74b533570ab8640ebce8925f2a4491
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Mon Feb 10 03:08:55 2014 +0000

    All: Fix sending pk3 download error messages to clients
---
 MP/code/server/sv_client.c | 2 +-
 SP/code/server/sv_client.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/server/sv_client.c b/MP/code/server/sv_client.c
index 259b92a..702187f 100644
--- a/MP/code/server/sv_client.c
+++ b/MP/code/server/sv_client.c
@@ -1073,7 +1073,7 @@ int SV_WriteDownloadToClient( client_t *cl, msg_t *msg ) {
 			if(cl->download)
 				FS_FCloseFile(cl->download);
 			
-			return 0;
+			return 1;
 		}
 
 		Com_Printf( "clientDownload: %d : beginning \"%s\"\n", (int) (cl - svs.clients), cl->downloadName );
diff --git a/SP/code/server/sv_client.c b/SP/code/server/sv_client.c
index 8a7c0a3..cd049c8 100644
--- a/SP/code/server/sv_client.c
+++ b/SP/code/server/sv_client.c
@@ -1029,7 +1029,7 @@ int SV_WriteDownloadToClient(client_t *cl, msg_t *msg)
 			if(cl->download)
 				FS_FCloseFile(cl->download);
 			
-			return 0;
+			return 1;
 		}
 
 		Com_Printf( "clientDownload: %d : beginning \"%s\"\n", (int) (cl - svs.clients), cl->downloadName );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list