From bb0fc4944d0f373cc326bc7887a449421a513718 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 6 Dec 2021 16:03:47 +0000 Subject: [PATCH] minor code formatting --- qse/lib/si/App.cpp | 2 +- qse/lib/xli/read-ini.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qse/lib/si/App.cpp b/qse/lib/si/App.cpp index 7a0acf4b..16ee8f0d 100644 --- a/qse/lib/si/App.cpp +++ b/qse/lib/si/App.cpp @@ -178,7 +178,7 @@ int App::daemonize (bool chdir_to_root, int fork_count, bool root_only) QSE_CPP_ // detach from the controlling terminal manually // when no fork() is requested though setsid() is supposed to // do this as well. - int fd = QSE_OPEN ("/dev/tty", O_RDWR, 0); + int fd = QSE_OPEN("/dev/tty", O_RDWR, 0); if (fd >= 0) { QSE_IOCTL(fd, TIOCNOTTY, NULL); diff --git a/qse/lib/xli/read-ini.c b/qse/lib/xli/read-ini.c index 64612109..eea9b7fd 100644 --- a/qse/lib/xli/read-ini.c +++ b/qse/lib/xli/read-ini.c @@ -476,12 +476,12 @@ int qse_xli_readini (qse_xli_t* xli, qse_xli_io_impl_t io) QSE_ASSERT (QSE_STR_LEN(xli->dotted_curkey) == 0); - if (qse_xli_openrstream (xli, xli->rio.inp) <= -1) return -1; + if (qse_xli_openrstream(xli, xli->rio.inp) <= -1) return -1; /* the input stream is open now */ - if (read_root_list (xli) <= -1) goto oops; + if (read_root_list(xli) <= -1) goto oops; - if (!MATCH (xli, QSE_XLI_TOK_EOF)) + if (!MATCH(xli, QSE_XLI_TOK_EOF)) { qse_xli_seterror (xli, QSE_XLI_ESYNTAX, QSE_NULL, &xli->tok.loc); goto oops;