This is why you don't let noobs code.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2434 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-10-27 11:11:42 +00:00
parent 8402f12b2c
commit b26e4c51f7

View file

@ -795,6 +795,7 @@ void SV_GenerateQTVDemoListing(cluster_t *cluster, oproxy_t *dest)
{
int namelen;
DIR *dir;
struct dirent *oneentry;
dir=opendir(".");
if (!dir)