mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-16 23:50:58 +02:00
code cleanup
This commit is contained in:
parent
bf9c867611
commit
29f84ebbb5
1 changed files with 1 additions and 3 deletions
|
@ -641,10 +641,8 @@ int main(int argc, const char * argv[]) {
|
|||
char* command = (char*) &packetData[1]; // start of the command
|
||||
int commandLength = strlen(command); // commands are null terminated strings
|
||||
int totalLength = sizeof(PACKET_HEADER_Z_COMMAND) + commandLength + 1; // 1 for null termination
|
||||
|
||||
printf("got Z message len(%ld)= %s\n", receivedBytes, command);
|
||||
|
||||
bool rebroadcast = true; // be default rebroadcast
|
||||
bool rebroadcast = true; // by default rebroadcast
|
||||
|
||||
while (totalLength <= receivedBytes) {
|
||||
if (strcmp(command, ERASE_ALL_COMMAND) == 0) {
|
||||
|
|
Loading…
Reference in a new issue