Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
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
cpp-libs
libnice
Commits
83407e22
Commit
83407e22
authored
Dec 17, 2006
by
Dafydd Harries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: comment packed structure
darcs-hash:20061217202711-c9803-138c77055b5f9c5cd17ef1a9631f86a48a958577.gz
parent
425405c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
tests/test.c
tests/test.c
+6
-5
No files found.
tests/test.c
View file @
83407e22
...
@@ -97,11 +97,12 @@ START_TEST (test_message_pack)
...
@@ -97,11 +97,12 @@ START_TEST (test_message_pack)
"
\x08\x09\x0a\x0b
"
"
\x08\x09\x0a\x0b
"
"
\x0c\x0d\x0e\x0f
"
,
16
));
"
\x0c\x0d\x0e\x0f
"
,
16
));
fail_unless
(
0
==
memcmp
(
packed
+
20
,
fail_unless
(
0
==
memcmp
(
packed
+
20
,
"
\x00\x01
"
"
\x00\x01
"
// type
"
\x00\x08
"
"
\x00\x08
"
// length
"
\x00\x01
"
"
\x00\x01
"
// padding, address family
"
\x09\x29
"
"
\x09\x29
"
// port
"
\x02\x03\x04\x05
"
,
12
));
"
\x02\x03\x04\x05
"
,
// IP address
12
));
g_free
(
packed
);
g_free
(
packed
);
stun_message_free
(
msg
);
stun_message_free
(
msg
);
...
...
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