From a335eb66de2e09cbf9262a6366db1050fb17a283 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 10 Aug 2018 11:16:04 -0400 Subject: [PATCH] remove some extra braces --- src/zm_event.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/zm_event.cpp b/src/zm_event.cpp index 713b9728d..f25f9e7f9 100644 --- a/src/zm_event.cpp +++ b/src/zm_event.cpp @@ -141,9 +141,8 @@ Event::Event( errno = 0; if ( mkdir(path, 0755) ) { // 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)); - } } if ( i == 2 ) strncpy(date_path, path, sizeof(date_path));