http redirect is similar to file not found

This commit is contained in:
Bill Currie 2007-03-24 13:56:14 +00:00 committed by Jeff Teunissen
parent 58112a6407
commit d7b84e3ca3

View file

@ -786,6 +786,10 @@ SV_BeginDownload_f (void *unused)
ren ? realname->str : name));
MSG_ReliableWrite_String (&host_client->backbuf,
ren ? realname->str : "");
if (host_client->download) {
Qclose (host_client->download);
host_client->download = NULL;
}
} else {
if (zip && strcmp (realname->str, name)) {
SV_Printf ("download renamed to %s\n", realname->str);