Whitespace changes.

All binary operators surrounded by a space.
This commit is contained in:
Johan Wikman
2015-10-22 10:55:20 +03:00
parent cb468be04f
commit 20364a132b

View File

@ -1129,7 +1129,8 @@ static char* blockbuf_get_writepos(blockbuf_t** p_bb,
{ {
if (bb_list->mlist_nodecount > 1 && if (bb_list->mlist_nodecount > 1 &&
node != bb_list->mlist_last){ node != bb_list->mlist_last)
{
bb_list->mlist_last->mlnode_next = bb_list->mlist_first; bb_list->mlist_last->mlnode_next = bb_list->mlist_first;
bb_list->mlist_first = bb_list->mlist_first->mlnode_next; bb_list->mlist_first = bb_list->mlist_first->mlnode_next;
bb_list->mlist_last->mlnode_next->mlnode_next = NULL; bb_list->mlist_last->mlnode_next->mlnode_next = NULL;
@ -2692,7 +2693,7 @@ static bool logfile_init(logfile_t* logfile,
{ {
char* c; char* c;
pid_t pid = getpid(); pid_t pid = getpid();
int len = strlen(shm_pathname_prefix)+ int len = strlen(shm_pathname_prefix)
+ strlen("maxscale.") + + strlen("maxscale.") +
get_decimal_len((size_t)pid) + 1; get_decimal_len((size_t)pid) + 1;
@ -3149,8 +3150,7 @@ static void* thr_filewriter_fun(void* data)
/** Consistent lock-free read on the list */ /** Consistent lock-free read on the list */
do do
{ {
while ((vn1 = bb_list->mlist_versno)%2 while ((vn1 = bb_list->mlist_versno) % 2 != 0)
!= 0)
{ {
continue; continue;
} }