checkpatch fixes
This commit is contained in:
@@ -34,11 +34,13 @@ static pthread_once_t init_once = PTHREAD_ONCE_INIT;
|
||||
|
||||
static void open_logs(void)
|
||||
{
|
||||
if ((fderr = fopen(conf.rmps.errlog, "a")) == NULL)
|
||||
fderr = fopen(conf.rmps.errlog, "a");
|
||||
if (fderr == NULL)
|
||||
fderr = stderr;
|
||||
else
|
||||
setvbuf(fderr, NULL, _IOLBF, 0);
|
||||
if ((fdout = fopen(conf.rmps.logfile, "a")) == NULL)
|
||||
fdout = fopen(conf.rmps.logfile, "a");
|
||||
if (fdout == NULL)
|
||||
fdout = stdout;
|
||||
else
|
||||
setvbuf(fdout, NULL, _IOLBF, 0);
|
||||
|
||||
Reference in New Issue
Block a user