mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
sendMsg needs to report success if no-conn send works.
This commit is contained in:
parent
2c26fc03e3
commit
b9be2b45f4
1 changed files with 1 additions and 0 deletions
|
@ -1135,6 +1135,7 @@ sendMsg( CommsCtxt* comms, MsgQueueElem* elem )
|
|||
XWHostID destID = getDestID( comms, channelNo );
|
||||
if ( haveRelayID( comms ) && sendNoConn( comms, elem, destID ) ) {
|
||||
/* do nothing */
|
||||
result = elem->len;
|
||||
} else if ( comms->r.relayState >= COMMS_RELAYSTATE_CONNECTED ) {
|
||||
if ( send_via_relay( comms, XWRELAY_MSG_TORELAY, destID,
|
||||
elem->msg, elem->len ) ){
|
||||
|
|
Loading…
Reference in a new issue