mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
cleanup
This commit is contained in:
parent
3d87d4f60a
commit
5b645abae8
1 changed files with 1 additions and 7 deletions
|
@ -831,13 +831,7 @@ main_onGameMessage( Globals* globals, XP_U32 gameID,
|
|||
XWStreamCtxt* stream = mem_stream_make_raw( MPPARM(globals->mpool)
|
||||
globals->vtMgr );
|
||||
dvc_makeMQTTNoSuchGame( globals->dutil, NULL, stream, gameID );
|
||||
|
||||
XP_UCHAR topic[64];
|
||||
formatMQTTTopic( &from->u.mqtt.devID, topic, sizeof(topic) );
|
||||
|
||||
XP_U16 streamLen = stream_getSize( stream );
|
||||
call_mqttSend( topic, stream_getPtr( stream ), streamLen );
|
||||
stream_destroy( stream, NULL );
|
||||
sendStreamToDev( stream, &from->u.mqtt.devID );
|
||||
|
||||
call_alert( "Dropping packet for non-existant game" );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue