Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
comp30023-2019-project-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xun Zhang
comp30023-2019-project-1
Commits
8bfb2f40
Commit
8bfb2f40
authored
6 years ago
by
ChouTatsumi
Browse files
Options
Downloads
Patches
Plain Diff
test 21:10
parent
cb1c3ce5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
server.c
+3
-4
3 additions, 4 deletions
server.c
with
3 additions
and
4 deletions
server.c
+
3
−
4
View file @
8bfb2f40
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment