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

test 21:10

parent cb1c3ce5
No related branches found
No related tags found
No related merge requests found
...@@ -399,15 +399,14 @@ bool show_accepted_page(int sockfd) { ...@@ -399,15 +399,14 @@ bool show_accepted_page(int sockfd) {
list_len = p2_guess_len; list_len = p2_guess_len;
char* added_prefix = "<p>"; char* added_prefix = "<p>";
int added_prefix_length = strlen(added_prefix);
char* added_suffix = "</p>\n\n"; char* added_suffix = "</p>\n\n";
int added_suffix_length = sizeof(added_suffix);
for (int i = 0; i < list_len; i++) { for (int i = 0; i < list_len; i++) {
} }
return show_modified_page(sockfd, ACCEPTED_PAGE, added, 212); // return show_modified_page(sockfd, ACCEPTED_PAGE, added, 212);
return true;
} }
void print_buff(char* request) { void print_buff(char* request) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment