From 8bfb2f4083255833a4808b55140a85a86e6e5423 Mon Sep 17 00:00:00 2001 From: ChouTatsumi <choutatsumi@gmail.com> Date: Mon, 29 Apr 2019 21:10:05 +1000 Subject: [PATCH] test 21:10 --- server.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server.c b/server.c index f357149..a3f3fe1 100644 --- a/server.c +++ b/server.c @@ -399,15 +399,14 @@ bool show_accepted_page(int sockfd) { list_len = p2_guess_len; char* added_prefix = "<p>"; - int added_prefix_length = strlen(added_prefix); char* added_suffix = "</p>\n\n"; - int added_suffix_length = sizeof(added_suffix); - + 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) { -- GitLab