MXS-2196: Rename session states

Minor renaming of the session state enum values. Also exposed the session
state stringification function in the public header and removed the
stringification macro.
This commit is contained in:
Markus Mäkelä
2018-12-05 14:34:45 +02:00
parent 7aaadfc550
commit 20fe9b9dca
15 changed files with 39 additions and 92 deletions

View File

@ -375,7 +375,7 @@ void RRRouter::handle_error(RRRouterSession* rses,
case ERRACT_REPLY_CLIENT:
{
/* React to failed authentication, send message to client */
if (sesstate == SESSION_STATE_ROUTER_READY)
if (sesstate == SESSION_STATE_STARTED)
{
/* Send error report to client */
GWBUF* copy = gwbuf_clone(message);