diff --git a/examples/Issue162/Issue162.ino b/examples/Issue162/Issue162.ino index 3647b5d..3d8a163 100644 --- a/examples/Issue162/Issue162.ino +++ b/examples/Issue162/Issue162.ino @@ -26,7 +26,7 @@ void onWsEvent(AsyncWebSocket* server, AsyncWebSocketClient* client, AwsEventTyp } else if (type == WS_EVT_ERROR) { Serial.printf("Client #%" PRIu32 " error.\n", client->id()); } else if (type == WS_EVT_DATA) { - Serial.printf("Client #%" PRIu32 " data: %.*s\n", client->id(), len, data); + Serial.printf("Client #%" PRIu32 " len: %u\n", client->id(), len); } }