Strip redundant spaces

This commit is contained in:
lostd 2014-10-08 18:39:07 +03:00
parent 0b0869ab44
commit 973aff99b7

View file

@ -223,7 +223,7 @@ begin:
cur = 0; cur = 0;
dents = NULL; dents = NULL;
dirp = opendir(path); dirp = opendir(path);
if (dirp == NULL) { if (dirp == NULL) {
printwarn(); printwarn();
goto nochange; goto nochange;
@ -365,7 +365,7 @@ nochange:
path = pathnew; path = pathnew;
goto out; goto out;
} }
/* Regular file */ /* Regular file */
if (S_ISREG(sb.st_mode)) { if (S_ISREG(sb.st_mode)) {
/* Open with */ /* Open with */
bin = openwith(name); bin = openwith(name);
@ -399,7 +399,7 @@ nochange:
out: out:
free(dents); free(dents);
r = closedir(dirp); r = closedir(dirp);
if (r == -1) if (r == -1)
printerr(1, "closedir"); printerr(1, "closedir");