diff --git a/examples/simple_room_server/MyMesh.cpp b/examples/simple_room_server/MyMesh.cpp index 3557ada7..934ff3d5 100644 --- a/examples/simple_room_server/MyMesh.cpp +++ b/examples/simple_room_server/MyMesh.cpp @@ -75,7 +75,8 @@ void MyMesh::pushTopicToClient(ClientInfo *client) { pushPostInternal(client, topic_timestamp, self_id, topic); } -void MyMesh::pushPostInternal(ClientInfo* client, uint32_t timestamp, const mesh::Identity& author, const char* text) { +void MyMesh::pushPostInternal(ClientInfo* client, uint32_t timestamp, const mesh::Identity& author, + const char* text) { int len = 0; memcpy(&reply_data[len], ×tamp, 4); len += 4; // this is a PAST timestamp... but should be accepted by client diff --git a/examples/simple_room_server/MyMesh.h b/examples/simple_room_server/MyMesh.h index aee1b996..f370324f 100644 --- a/examples/simple_room_server/MyMesh.h +++ b/examples/simple_room_server/MyMesh.h @@ -126,7 +126,8 @@ class MyMesh : public mesh::Mesh, public CommonCLICallbacks { void storePost(const mesh::Identity& author, const char* postData); void pushPostToClient(ClientInfo* client, PostInfo& post); void pushTopicToClient(ClientInfo* client); - void pushPostInternal(ClientInfo* client, uint32_t timestamp, const mesh::Identity& author, const char* text); + void pushPostInternal(ClientInfo* client, uint32_t timestamp, const mesh::Identity& author, + const char* text); uint8_t getUnsyncedCount(ClientInfo* client); bool processAck(const uint8_t *data); mesh::Packet* createSelfAdvert();