remove magic number

This commit is contained in:
John Bintz 2022-12-28 11:36:25 -05:00
parent 86e45a7739
commit 51748aa5f8
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ void readData(int clientSocket) {
printf("Got stuff: %i\n", msgSize);
printf("%s\n", buffer);
}
} while (msgSize == 256);
} while (msgSize == BUFFER_LENGTH);
printf("Data received: %s\n", buffer);
}