closedir() was missing

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@423 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
gombasg 2006-04-05 15:51:07 +00:00 committed by Adam Visegradi
parent 2876b89f3a
commit b425748b60
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ int DC_getMaxSubresults(void)
while ((d = readdir(dir)))
if (!strncasecmp(d->d_name, SUBRESULT_PFX, strlen(SUBRESULT_PFX)))
nsubs++;
closedir(dir);
return nsubs;
}