Browse Source

Simplify condition

master
sin 10 years ago
parent
commit
3b5fe15166
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      noice.c

+ 3
- 5
noice.c View File

@@ -365,12 +365,10 @@ canopendir(char *path)
DIR *dirp;

dirp = opendir(path);
if (dirp == NULL) {
if (dirp == NULL)
return 0;
} else {
closedir(dirp);
return 1;
}
closedir(dirp);
return 1;
}

void


Loading…
Cancel
Save