Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/scandir.cc')
-rw-r--r--winsup/cygwin/scandir.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/scandir.cc b/winsup/cygwin/scandir.cc
index ce9f46513..793505d2f 100644
--- a/winsup/cygwin/scandir.cc
+++ b/winsup/cygwin/scandir.cc
@@ -73,11 +73,11 @@ scandir (const char *dir,
{
closedir (dirp);
if (nl)
- {
- while (count > 0)
- free (nl[--count]);
- free (nl);
- }
+ {
+ while (count > 0)
+ free (nl[--count]);
+ free (nl);
+ }
/* Ignore errors from closedir() and what not else. */
set_errno (prior_errno);
return -1;