From d5f7a0693fc81e34bcc91208f796906d8376cc71 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 22 Nov 2009 19:25:49 +0000 Subject: [PATCH] Handle missing relay error messages. --- xwords4/linux/linuxutl.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/xwords4/linux/linuxutl.c b/xwords4/linux/linuxutl.c index 8f9982d9a..ae3f7d28f 100644 --- a/xwords4/linux/linuxutl.c +++ b/xwords4/linux/linuxutl.c @@ -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 = "";