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

@ -93,22 +93,22 @@ static int auth_backend_extract(DCB *dcb, GWBUF *buf)
switch (mba->state)
{
case MBA_NEED_OK:
if (mxs_mysql_is_ok_packet(buf))
{
rval = MXS_AUTH_SUCCEEDED;
mba->state = MBA_AUTH_OK;
}
else
{
mba->state = MBA_AUTH_FAILED;
}
break;
case MBA_NEED_OK:
if (mxs_mysql_is_ok_packet(buf))
{
rval = MXS_AUTH_SUCCEEDED;
mba->state = MBA_AUTH_OK;
}
else
{
mba->state = MBA_AUTH_FAILED;
}
break;
default:
MXS_ERROR("Unexpected call to MySQLBackendAuth::extract");
ss_dassert(false);
break;
default:
MXS_ERROR("Unexpected call to MySQLBackendAuth::extract");
ss_dassert(false);
break;
}
return rval;