remove some extra braces

This commit is contained in:
Isaac Connor 2018-08-10 11:16:04 -04:00
parent f2525253bb
commit a335eb66de
1 changed files with 1 additions and 2 deletions

View File

@ -141,10 +141,9 @@ Event::Event(
errno = 0; errno = 0;
if ( mkdir(path, 0755) ) { if ( mkdir(path, 0755) ) {
// FIXME This should not be fatal. Should probably move to a different storage area. // FIXME This should not be fatal. Should probably move to a different storage area.
if ( errno != EEXIST ) { if ( errno != EEXIST )
Error("Can't mkdir %s: %s", path, strerror(errno)); Error("Can't mkdir %s: %s", path, strerror(errno));
} }
}
if ( i == 2 ) if ( i == 2 )
strncpy(date_path, path, sizeof(date_path)); strncpy(date_path, path, sizeof(date_path));
else if ( i >= 3 ) else if ( i >= 3 )