minor code formatting

This commit is contained in:
hyung-hwan 2021-12-06 16:03:47 +00:00
parent 0018f96622
commit bb0fc4944d
2 changed files with 4 additions and 4 deletions

View File

@ -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 // detach from the controlling terminal manually
// when no fork() is requested though setsid() is supposed to // when no fork() is requested though setsid() is supposed to
// do this as well. // 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) if (fd >= 0)
{ {
QSE_IOCTL(fd, TIOCNOTTY, NULL); QSE_IOCTL(fd, TIOCNOTTY, NULL);

View File

@ -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); 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 */ /* 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); qse_xli_seterror (xli, QSE_XLI_ESYNTAX, QSE_NULL, &xli->tok.loc);
goto oops; goto oops;