summaryrefslogtreecommitdiffstats
path: root/osdep/glob-win.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/glob-win.c')
-rw-r--r--osdep/glob-win.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/osdep/glob-win.c b/osdep/glob-win.c
index 427a30e7b0..6cf29efd5f 100644
--- a/osdep/glob-win.c
+++ b/osdep/glob-win.c
@@ -42,7 +42,7 @@ int glob(const char *pattern, int flags,
//printf("could not find a file matching your search criteria\n");
return 1;
}
- else
+ else
{
//printf("glob():ERROR:FindFirstFile: %i\n",GetLastError());
return 1;
@@ -69,9 +69,9 @@ int glob(const char *pattern, int flags,
else
{
//printf("glob: found file %s\n",found_file.cFileName);
- pglob->gl_pathc++;
+ pglob->gl_pathc++;
pglob->gl_pathv = realloc(pglob->gl_pathv,pglob->gl_pathc * sizeof(char*));
- pglob->gl_pathv[pglob->gl_pathc-1] = strdup(found_file.cFileName);
+ pglob->gl_pathv[pglob->gl_pathc-1] = strdup(found_file.cFileName);
}
}
FindClose(searchhndl);
@@ -98,7 +98,7 @@ int main(void){
for(i=0;i<gg.gl_pathc;i++)printf("GLOBED:%i %s\n",i,gg.gl_pathv[i]);
}
globfree(&gg);
-
+
return 0;
}
#endif