Format all files
Formatted all files with uncrustify.
This commit is contained in:
@ -2516,7 +2516,7 @@ static int handle_global_item(const char* name, const char* value)
|
||||
if (gateway.writeq_high_water < MIN_WRITEQ_HIGH_WATER)
|
||||
{
|
||||
MXS_WARNING("The specified writeq high water mark %lu, is smaller "
|
||||
"than the minimum allowed size %lu. Changing to minimum.",
|
||||
"than the minimum allowed size %lu. Changing to minimum.",
|
||||
gateway.writeq_high_water,
|
||||
MIN_WRITEQ_HIGH_WATER);
|
||||
gateway.writeq_high_water = MIN_WRITEQ_HIGH_WATER;
|
||||
@ -2534,7 +2534,7 @@ static int handle_global_item(const char* name, const char* value)
|
||||
if (gateway.writeq_low_water < MIN_WRITEQ_LOW_WATER)
|
||||
{
|
||||
MXS_WARNING("The specified writeq low water mark %lu, is smaller "
|
||||
"than the minimum allowed size %lu. Changing to minimum.",
|
||||
"than the minimum allowed size %lu. Changing to minimum.",
|
||||
gateway.writeq_low_water,
|
||||
MIN_WRITEQ_LOW_WATER);
|
||||
gateway.writeq_low_water = MIN_WRITEQ_LOW_WATER;
|
||||
|
||||
@ -367,7 +367,7 @@ bool monitor_add_server(MXS_MONITOR* mon, SERVER* server)
|
||||
db->next = NULL;
|
||||
db->mon_err_count = 0;
|
||||
db->log_version_err = true;
|
||||
// Pretend disk space was just checked.
|
||||
// Pretend disk space was just checked.
|
||||
db->disk_space_checked = maxscale::MonitorInstance::get_time_ms();
|
||||
|
||||
|
||||
|
||||
@ -93,7 +93,7 @@ Service* service_alloc(const char* name, const char* router, MXS_CONFIG_PARAMETE
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Service* service = new( std::nothrow) Service(name, router, params);
|
||||
Service* service = new(std::nothrow) Service(name, router, params);
|
||||
|
||||
if (service == nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user