Tweak wording of disconnect reason messages

They are now a bit more specific and better match the description of
the disconnection reasons sent by the server.
This commit is contained in:
Samuel Mannehed 2017-10-04 12:36:59 +02:00
parent 3aca74880a
commit dfad103fd9

View File

@ -285,12 +285,12 @@ handle_disconnect_reason(RD_BOOL deactivated, uint16 reason)
break; break;
case ERRINFO_IDLE_TIMEOUT: case ERRINFO_IDLE_TIMEOUT:
text = "Server idle timeout reached"; text = "Server idle session time limit reached";
retval = EXRD_IDLE_TIMEOUT; retval = EXRD_IDLE_TIMEOUT;
break; break;
case ERRINFO_LOGON_TIMEOUT: case ERRINFO_LOGON_TIMEOUT:
text = "Server logon timeout reached"; text = "Server active session time limit reached";
retval = EXRD_LOGON_TIMEOUT; retval = EXRD_LOGON_TIMEOUT;
break; break;
@ -310,7 +310,7 @@ handle_disconnect_reason(RD_BOOL deactivated, uint16 reason)
break; break;
case ERRINFO_SERVER_DENIED_CONNECTION_FIPS: case ERRINFO_SERVER_DENIED_CONNECTION_FIPS:
text = "The server denied the connection for security reason"; text = "The server denied the connection for security reasons";
retval = EXRD_DENIED_FIPS; retval = EXRD_DENIED_FIPS;
break; break;
@ -350,17 +350,17 @@ handle_disconnect_reason(RD_BOOL deactivated, uint16 reason)
break; break;
case ERRINFO_LICENSE_BAD_CLIENT_MSG: case ERRINFO_LICENSE_BAD_CLIENT_MSG:
text = "Invalid licensing message"; text = "Invalid licensing message from client";
retval = EXRD_LIC_MSG; retval = EXRD_LIC_MSG;
break; break;
case ERRINFO_LICENSE_HWID_DOESNT_MATCH_LICENSE: case ERRINFO_LICENSE_HWID_DOESNT_MATCH_LICENSE:
text = "Hardware id doesn't match software license"; text = "The client license has been modified and does no longer match the hardware ID";
retval = EXRD_LIC_HWID; retval = EXRD_LIC_HWID;
break; break;
case ERRINFO_LICENSE_BAD_CLIENT_LICENSE: case ERRINFO_LICENSE_BAD_CLIENT_LICENSE:
text = "Client license error"; text = "The client license is in an invalid format";
retval = EXRD_LIC_CLIENT; retval = EXRD_LIC_CLIENT;
break; break;
@ -380,7 +380,7 @@ handle_disconnect_reason(RD_BOOL deactivated, uint16 reason)
break; break;
case ERRINFO_LICENSE_CANT_UPGRADE_LICENSE: case ERRINFO_LICENSE_CANT_UPGRADE_LICENSE:
text = "Can't upgrade license"; text = "Can't upgrade or renew license";
retval = EXRD_LIC_UPGRADE; retval = EXRD_LIC_UPGRADE;
break; break;