mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
Receive disconnect events and display message for error codes.
This commit is contained in:
parent
b1ab4d8e27
commit
460cda0390
1 changed files with 3 additions and 1 deletions
|
@ -707,8 +707,10 @@ relayPreProcess( CommsCtxt* comms, XWStreamCtxt* stream, XWHostID* senderID )
|
|||
*senderID = srcID;
|
||||
}
|
||||
break;
|
||||
|
||||
case XWRELAY_DISCONNECT:
|
||||
case XWRELAY_CONNECTDENIED:
|
||||
util_userError( comms->util, ERR_RELAY_ERROR );
|
||||
util_userError( comms->util, ERR_RELAY_BASE + stream_getU8( stream ) );
|
||||
/* fallthru */
|
||||
default:
|
||||
consumed = XP_TRUE; /* drop it */
|
||||
|
|
Loading…
Reference in a new issue