Format authenticator modules

Formatted authenticator modules with Astyle.
This commit is contained in:
Markus Mäkelä
2017-01-17 13:35:08 +02:00
parent 1766e3a06b
commit 4869fd98eb
5 changed files with 56 additions and 56 deletions

View File

@ -45,7 +45,7 @@ typedef struct http_auth
{ {
char* user; char* user;
char* pw; char* pw;
}HTTP_AUTH; } HTTP_AUTH;
/** /**
* The module entry point routine. It is this routine that * The module entry point routine. It is this routine that

View File

@ -1462,7 +1462,7 @@ get_users(SERV_LISTENER *listener, USERS *users)
if (db_grants) if (db_grants)
{ {
/* load all mysql database names */ /* 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]", MXS_DEBUG("Loaded %d MySQL Database Names for service [%s]",
dbnames, service->name); dbnames, service->name);
} }
@ -2792,7 +2792,7 @@ static bool wildcard_domain_match(const char *host1, const char *host2)
ip_address = host1; ip_address = host1;
wc_domain = host2; 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, "%_")) strpbrk(host1, "%_"))
{ {
ip_address = host2; ip_address = host2;
@ -2848,7 +2848,7 @@ static bool wildcard_domain_match(const char *host1, const char *host2)
{ {
return true; 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); MXS_ERROR("Malformed host name for regex matching: '%s'.", wc_domain);
} }