Added SESSION_STATE_ROUTER_READY to server/core/session.c:session_state so that state will be printed correctly as well instead of "Invalid state".

This commit is contained in:
VilhoRaatikka 2014-05-22 22:27:08 +03:00
parent 719a5015f5
commit 4f1233ecc7

View File

@ -431,6 +431,8 @@ session_state(int state)
return "Session Allocated";
case SESSION_STATE_READY:
return "Session Ready";
case SESSION_STATE_ROUTER_READY:
return "Session ready for routing";
case SESSION_STATE_LISTENER:
return "Listener Session";
case SESSION_STATE_LISTENER_STOPPED: