Fix coding style

It was about damn time. Consistency is very important in such a
big codebase.
This commit is contained in:
FRIGN
2014-11-13 18:29:30 +01:00
committed by sin
parent e35d9e62a5
commit eee98ed3a4
70 changed files with 622 additions and 557 deletions

View File

@@ -51,7 +51,7 @@ done:
argv++;
argc--;
if(argc < 1)
if (argc < 1)
usage();
for (; argc > 0; argc--, argv++)
@@ -65,17 +65,17 @@ chmodr(const char *path)
struct stat st;
mode_t m;
if(stat(path, &st) == -1) {
if (stat(path, &st) == -1) {
weprintf("stat %s:", path);
ret = 1;
return;
}
m = parsemode(modestr, st.st_mode, mask);
if(chmod(path, m) == -1) {
if (chmod(path, m) == -1) {
weprintf("chmod %s:", path);
ret = 1;
}
if(rflag)
if (rflag)
recurse(path, chmodr);
}