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

test 21:11

parent 8bfb2f40
No related branches found
No related tags found
No related merge requests found
...@@ -367,6 +367,8 @@ bool show_modified_page(int sockfd, const char* htmldir, char* added, ...@@ -367,6 +367,8 @@ bool show_modified_page(int sockfd, const char* htmldir, char* added,
// copy the username // copy the username
strncpy(buff + p2, added, added_length); strncpy(buff + p2, added, added_length);
print_buff(buff);
if (write(sockfd, buff, size) < 0) { if (write(sockfd, buff, size) < 0) {
perror("write"); perror("write");
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment