All keywords now followed by space.
Plus some missing Allman identation fixes.
This commit is contained in:
@ -1090,7 +1090,9 @@ static char* blockbuf_get_writepos(
|
|||||||
* New node is created
|
* New node is created
|
||||||
*/
|
*/
|
||||||
if ((bb = blockbuf_init(id)) == NULL)
|
if ((bb = blockbuf_init(id)) == NULL)
|
||||||
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
CHK_BLOCKBUF(bb);
|
CHK_BLOCKBUF(bb);
|
||||||
|
|
||||||
@ -2941,10 +2943,14 @@ static void filewriter_done(
|
|||||||
{
|
{
|
||||||
id = (logfile_id_t)i;
|
id = (logfile_id_t)i;
|
||||||
if (use_stdout)
|
if (use_stdout)
|
||||||
|
{
|
||||||
skygw_file_free(fw->fwr_file[id]);
|
skygw_file_free(fw->fwr_file[id]);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
skygw_file_close(fw->fwr_file[id], true);
|
skygw_file_close(fw->fwr_file[id], true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
fw->fwr_state = DONE;
|
fw->fwr_state = DONE;
|
||||||
case DONE:
|
case DONE:
|
||||||
case UNINIT:
|
case UNINIT:
|
||||||
|
Reference in New Issue
Block a user