mirror of https://github.com/BOINC/boinc.git
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:
parent
2876b89f3a
commit
b425748b60
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue