Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
fd802300
Commit
fd802300
authored
Jan 27, 2012
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warning
parent
8eea63aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
tests/spdylay_frame_test.c
tests/spdylay_frame_test.c
+4
-5
No files found.
tests/spdylay_frame_test.c
View file @
fd802300
...
...
@@ -40,17 +40,16 @@ static const char *headers[] = {
void
test_spdylay_frame_unpack_nv
()
{
const
char
in
[
1024
];
uint8_t
out
[
1024
];
char
**
nv
;
int
i
;
size_t
inlen
=
spdylay_frame_pack_nv
(
in
,
(
char
**
)
headers
);
CU_ASSERT
(
0
==
spdylay_frame_unpack_nv
(
&
nv
,
in
,
inlen
));
size_t
inlen
=
spdylay_frame_pack_nv
(
out
,
(
char
**
)
headers
);
CU_ASSERT
(
0
==
spdylay_frame_unpack_nv
(
&
nv
,
out
,
inlen
));
spdylay_frame_nv_free
(
nv
);
free
(
nv
);
}
void
test_spdylay_frame_count_nv_space
()
{
CU_ASSERT
(
83
==
spdylay_frame_count_nv_space
(
headers
));
CU_ASSERT
(
83
==
spdylay_frame_count_nv_space
(
(
char
**
)
headers
));
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment