Remove leftover parens

This commit is contained in:
Brian Ashworth 2018-07-13 21:23:18 -04:00
parent 85584734ce
commit 14c949c1c7

View file

@ -716,7 +716,7 @@ static char *get_config_path(void) {
wordexp_t p; wordexp_t p;
char *path; char *path;
for (size_t i = 0; i < (sizeof(config_paths) / sizeof(char *)); ++i) { for (size_t i = 0; i < sizeof(config_paths) / sizeof(char *); ++i) {
if (wordexp(config_paths[i], &p, 0) == 0) { if (wordexp(config_paths[i], &p, 0) == 0) {
path = strdup(p.we_wordv[0]); path = strdup(p.we_wordv[0]);
wordfree(&p); wordfree(&p);