Skip to content
Snippets Groups Projects
Commit baf7b7ea authored by ChouTatsumi's avatar ChouTatsumi
Browse files

modify magic number

parent 80384145
No related branches found
No related tags found
No related merge requests found
......@@ -256,7 +256,7 @@ static bool handle_http_request(int sockfd) {
close(filefd);
// move the trailing part backward
int p1, p2;
for (p1 = size - 1, p2 = p1 - added_length; p1 >= size - 213;
for (p1 = size - 1, p2 = p1 - added_length; p1 >= size - 212;
--p1, --p2){
buff[p1] = buff[p2];
printf("%c", buff[p1]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment