From dba57955f9787562cbb58a20f35e2a8c9718a970 Mon Sep 17 00:00:00 2001 From: dequis <dx@dxzone.com.ar> Date: Fri, 4 Oct 2019 22:49:46 +0200 Subject: [PATCH] style(config): clang-format wants these lines to be joined now i guess --- epicardium/modules/config.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/epicardium/modules/config.c b/epicardium/modules/config.c index ce8563a7..d36e93b9 100644 --- a/epicardium/modules/config.c +++ b/epicardium/modules/config.c @@ -316,23 +316,15 @@ void load_config(void) if (!seek_back) { break; } - int rc = epic_file_seek( - fd, - seek_back, - SEEK_CUR - ); + int rc = epic_file_seek(fd, seek_back, SEEK_CUR); if (rc < 0) { - LOG_ERR("card10.cfg", - "seek failed, aborting"); + LOG_ERR("card10.cfg", "seek failed, aborting"); return; } char newline; - rc = epic_file_read( - fd, &newline, 1 - ); + rc = epic_file_read(fd, &newline, 1); if (rc < 0 || newline != '\n') { - LOG_ERR("card10.cfg", - "seek failed, aborting"); + LOG_ERR("card10.cfg", "seek failed, aborting"); LOG_DEBUG( "card10.cfg", "seek failed at read-back of newline: rc: %d read: %d", -- GitLab