_unlink() back to unlink()

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2324 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
JohnNy_cz 2006-06-10 22:36:05 +00:00
parent a2bd087d55
commit e1de557863
1 changed files with 1 additions and 1 deletions

View File

@ -1351,7 +1351,7 @@ void ParseMessage(sv_t *tv, char *buffer, int length, int to, int mask)
if (tv->file)
{
fclose(tv->file);
_unlink(tv->downloadname);
unlink(tv->downloadname);
Sys_Printf(tv->cluster, "Was already downloading %s\nOld download canceled\n");
tv->file = NULL;
}