Code formatting fixed

This commit is contained in:
Alexander Pevzner 2022-11-04 22:18:02 +03:00
parent d6e888cf38
commit 79d6219d9d
1 changed files with 9 additions and 9 deletions

View File

@ -62,15 +62,15 @@ internal_log_file_open(const char *fname)
if (fname != NULL)
{
if (g_strcmp(fname, "<stdout>") != 0)
{
ret = open(fname, O_WRONLY | O_CREAT | O_APPEND | O_SYNC,
S_IRUSR | S_IWUSR);
}
else
{
ret = dup(1);
}
if (g_strcmp(fname, "<stdout>") != 0)
{
ret = open(fname, O_WRONLY | O_CREAT | O_APPEND | O_SYNC,
S_IRUSR | S_IWUSR);
}
else
{
ret = dup(1);
}
}
#ifdef FD_CLOEXEC