From b914a33f0316e8a146bee9460b4ffeef8311d097 Mon Sep 17 00:00:00 2001
From: ChouTatsumi <choutatsumi@gmail.com>
Date: Mon, 29 Apr 2019 21:11:16 +1000
Subject: [PATCH] test 21:11

---
 server.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/server.c b/server.c
index a3f3fe1..9f1302f 100644
--- a/server.c
+++ b/server.c
@@ -367,6 +367,8 @@ bool show_modified_page(int sockfd, const char* htmldir, char* added,
     // copy the username
     strncpy(buff + p2, added, added_length);
 
+    print_buff(buff);
+
     if (write(sockfd, buff, size) < 0) {
         perror("write");
         return false;
@@ -400,7 +402,7 @@ bool show_accepted_page(int sockfd) {
 
     char* added_prefix = "<p>";
     char* added_suffix = "</p>\n\n";
-    
+
     for (int i = 0; i < list_len; i++) {
 
     }
-- 
GitLab