remove magic number
This commit is contained in:
parent
86e45a7739
commit
51748aa5f8
2
server.c
2
server.c
|
@ -136,7 +136,7 @@ void readData(int clientSocket) {
|
||||||
printf("Got stuff: %i\n", msgSize);
|
printf("Got stuff: %i\n", msgSize);
|
||||||
printf("%s\n", buffer);
|
printf("%s\n", buffer);
|
||||||
}
|
}
|
||||||
} while (msgSize == 256);
|
} while (msgSize == BUFFER_LENGTH);
|
||||||
printf("Data received: %s\n", buffer);
|
printf("Data received: %s\n", buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue