mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-01-23 00:10:50 +00:00
back out an accidental commit
This commit is contained in:
parent
39ee51118d
commit
e3674945ed
1 changed files with 3 additions and 8 deletions
|
@ -1138,15 +1138,10 @@ CL_Download_f (void)
|
||||||
strncpy (cls.downloadtempname, cls.downloadname,
|
strncpy (cls.downloadtempname, cls.downloadname,
|
||||||
sizeof (cls.downloadtempname));
|
sizeof (cls.downloadtempname));
|
||||||
cls.download = Qopen (cls.downloadname, "wb");
|
cls.download = Qopen (cls.downloadname, "wb");
|
||||||
if (cls.download) {
|
|
||||||
cls.downloadtype = dl_single;
|
cls.downloadtype = dl_single;
|
||||||
|
|
||||||
MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
|
MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
|
||||||
SZ_Print (&cls.netchan.message, va ("download %s\n", Cmd_Argv (1)));
|
SZ_Print (&cls.netchan.message, va ("download %s\n", Cmd_Argv (1)));
|
||||||
} else {
|
|
||||||
Con_Printf ("error downloading %s: %s\n", Cmd_Argv (1),
|
|
||||||
strerror (errno));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
Loading…
Reference in a new issue