Skip to content

Commit c4c6d18

Browse files
committed
Reformat tabs to spaces
1 parent dd28f2c commit c4c6d18

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

cpp/fzip/src/fzip.cpp

+10-10
Original file line numberDiff line numberDiff line change
@@ -313,17 +313,17 @@ void parseArgs(int argc, const char **argv) {
313313
usage(string("Cannot opendir ") + arg);
314314
}
315315

316-
317316
while ((dp = readdir(dirp)) != NULL) {
318-
struct stat st;
319-
std::string path = string(arg) + "/" + dp->d_name;
320-
if(0 == stat(path.c_str(), &st)){
321-
if (S_ISREG(st.st_mode)) {
322-
paths.push_back(path);
323-
}
324-
}else{
325-
usage(string("Cannot stat ") + arg);
326-
}
317+
struct stat st;
318+
string path = string(arg) + "/" + dp->d_name;
319+
if (0 == stat(path.c_str(), &st)) {
320+
if (S_ISREG(st.st_mode)) {
321+
paths.push_back(path);
322+
}
323+
}
324+
else {
325+
usage(string("Cannot stat ") + arg);
326+
}
327327
}
328328

329329
closedir(dirp);

0 commit comments

Comments
 (0)