Format authenticator modules
Formatted authenticator modules with Astyle.
This commit is contained in:
@ -45,7 +45,7 @@ typedef struct http_auth
|
||||
{
|
||||
char* user;
|
||||
char* pw;
|
||||
}HTTP_AUTH;
|
||||
} HTTP_AUTH;
|
||||
|
||||
/**
|
||||
* The module entry point routine. It is this routine that
|
||||
|
@ -1462,7 +1462,7 @@ get_users(SERV_LISTENER *listener, USERS *users)
|
||||
if (db_grants)
|
||||
{
|
||||
/* load all mysql database names */
|
||||
ss_debug(int dbnames =) get_databases(listener, con);
|
||||
ss_debug(int dbnames = ) get_databases(listener, con);
|
||||
MXS_DEBUG("Loaded %d MySQL Database Names for service [%s]",
|
||||
dbnames, service->name);
|
||||
}
|
||||
@ -2792,7 +2792,7 @@ static bool wildcard_domain_match(const char *host1, const char *host2)
|
||||
ip_address = host1;
|
||||
wc_domain = host2;
|
||||
}
|
||||
else if(is_ipaddress(host2) && !strpbrk(host2, "%_") && !is_ipaddress(host1) &&
|
||||
else if (is_ipaddress(host2) && !strpbrk(host2, "%_") && !is_ipaddress(host1) &&
|
||||
strpbrk(host1, "%_"))
|
||||
{
|
||||
ip_address = host2;
|
||||
@ -2848,7 +2848,7 @@ static bool wildcard_domain_match(const char *host1, const char *host2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else if(regex_result == MXS_PCRE2_ERROR)
|
||||
else if (regex_result == MXS_PCRE2_ERROR)
|
||||
{
|
||||
MXS_ERROR("Malformed host name for regex matching: '%s'.", wc_domain);
|
||||
}
|
||||
|
Reference in New Issue
Block a user