mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-13 08:01:33 +01:00
Handle missing relay error messages.
This commit is contained in:
parent
8c7aab4247
commit
d5f7a0693f
1 changed files with 11 additions and 0 deletions
|
@ -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>";
|
||||
|
|
Loading…
Reference in a new issue