mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
don't pass null address
This commit is contained in:
parent
8e616095ad
commit
786d775878
1 changed files with 3 additions and 2 deletions
|
@ -1098,9 +1098,10 @@ linux_relay_ioproc( GIOChannel* XP_UNUSED_DBG(source), GIOCondition condition,
|
|||
|
||||
inboundS = stream_from_msgbuf( cGlobals, buf, nBytes );
|
||||
if ( !!inboundS ) {
|
||||
CommsAddrRec* addrp = NULL;
|
||||
CommsAddrRec addr = {0};
|
||||
addr_addType( &addr, COMMS_CONN_RELAY );
|
||||
if ( comms_checkIncomingStream( cGlobals->game.comms,
|
||||
inboundS, addrp ) ) {
|
||||
inboundS, &addr ) ) {
|
||||
redraw = server_receiveMessage( cGlobals->game.server,
|
||||
inboundS );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue