diff --git a/xwords4/common/device.c b/xwords4/common/device.c index a1eac9c18..59718d085 100644 --- a/xwords4/common/device.c +++ b/xwords4/common/device.c @@ -157,7 +157,6 @@ dvc_getMQTTDevID( XW_DUtilCtxt* dutil, XWEnv xwe, MQTTDevID* devID ) void dvc_resetMQTTDevID( XW_DUtilCtxt* dutil, XWEnv xwe ) { - LOG_FUNC(); #ifdef BOGUS_ALL_SAME_DEVID XP_LOGFF( "doing nothing" ); XP_USE( dutil ); @@ -193,7 +192,6 @@ void dvc_makeMQTTInvite( XW_DUtilCtxt* dutil, XWEnv xwe, XWStreamCtxt* stream, const NetLaunchInfo* nli ) { - LOG_FUNC(); addHeaderGameIDAndCmd( dutil, xwe, CMD_INVITE, nli->gameID, stream ); nli_saveToStream( nli, stream ); } @@ -202,7 +200,6 @@ void dvc_makeMQTTMessage( XW_DUtilCtxt* dutil, XWEnv xwe, XWStreamCtxt* stream, XP_U32 gameID, const XP_U8* buf, XP_U16 len ) { - LOG_FUNC(); addHeaderGameIDAndCmd( dutil, xwe, CMD_MSG, gameID, stream ); stream_putBytes( stream, buf, len ); } diff --git a/xwords4/wasm/main.c b/xwords4/wasm/main.c index 8d542f975..ddc277db2 100644 --- a/xwords4/wasm/main.c +++ b/xwords4/wasm/main.c @@ -326,14 +326,14 @@ call_alert( const char* msg ) static bool sendStreamToDev( XWStreamCtxt* stream, const MQTTDevID* devID ) { - XP_S16 nSent = -1; XP_UCHAR topic[64]; formatMQTTTopic( devID, topic, sizeof(topic) ); XP_U16 streamLen = stream_getSize( stream ); bool success = call_mqttSend( topic, stream_getPtr( stream ), streamLen ); stream_destroy( stream, NULL ); - LOG_RETURNF("%d", nSent); + + XP_LOGFF("(to: %s) => %s", topic, boolToStr(success) ); return success; } diff --git a/xwords4/wasm/shell_minimal.html b/xwords4/wasm/shell_minimal.html index c0d205b24..40ea1fafe 100644 --- a/xwords4/wasm/shell_minimal.html +++ b/xwords4/wasm/shell_minimal.html @@ -114,11 +114,10 @@ -
- -->
+ -->