Handle missing relay error messages.

This commit is contained in:
ehouse 2009-11-22 19:25:49 +00:00
parent 8c7aab4247
commit d5f7a0693f

View file

@ -286,6 +286,17 @@ linux_getErrString( UtilErrID id, XP_Bool* silent )
message = "Relay disconnected you to shut down (and probably reboot).";
break;
case ERR_RELAY_BASE + XWRELAY_ERROR_BADPROTO:
message = "XWRELAY_ERROR_BADPROTO";
break;
case ERR_RELAY_BASE + XWRELAY_ERROR_RELAYBUSY:
message = "XWRELAY_ERROR_RELAYBUSY";
break;
case ERR_RELAY_BASE + XWRELAY_ERROR_OTHER_DISCON:
message = "XWRELAY_ERROR_OTHER_DISCON";
break;
default:
XP_LOGF( "no code for error: %d", id );
message = "<unrecognized error code reported>";