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
f2d1fedd
Commit
f2d1fedd
authored
Feb 23, 2009
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stun_validater_data renamed to StunDefaultValidaterData for consistent naming convention
parent
259d6efa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
stun/stunagent.c
stun/stunagent.c
+1
-1
stun/tests/test-conncheck.c
stun/tests/test-conncheck.c
+1
-1
stun/tests/test-parse.c
stun/tests/test-parse.c
+1
-1
No files found.
stun/stunagent.c
View file @
f2d1fedd
...
...
@@ -67,7 +67,7 @@ bool stun_agent_default_validater (StunAgent *agent,
StunMessage
*
message
,
uint8_t
*
username
,
uint16_t
username_len
,
uint8_t
**
password
,
size_t
*
password_len
,
void
*
user_data
)
{
stun_validater_data
*
val
=
(
stun_validater_data
*
)
user_data
;
StunDefaultValidaterData
*
val
=
(
StunDefaultValidaterData
*
)
user_data
;
int
i
;
for
(
i
=
0
;
val
&&
val
[
i
].
username
;
i
++
)
{
...
...
stun/tests/test-conncheck.c
View file @
f2d1fedd
...
...
@@ -82,7 +82,7 @@ int main (void)
StunAgent
agent
;
StunMessage
req
;
StunMessage
resp
;
stun_validater_d
ata
validater_data
[]
=
{
StunDefaultValidaterD
ata
validater_data
[]
=
{
{
ufrag
,
strlen
(
ufrag
),
pass
,
strlen
(
pass
)},
{
username
,
strlen
(
username
),
pass
,
strlen
(
pass
)},
{
NULL
,
0
,
NULL
,
0
}};
...
...
stun/tests/test-parse.c
View file @
f2d1fedd
...
...
@@ -224,7 +224,7 @@ static void test_message (void)
uint8_t
password_v
[]
=
{
0x77
,
0xd9
,
0x7a
,
0xe9
,
0xcf
,
0xe0
,
0x3e
,
0xa2
,
0x28
,
0xa0
,
0x5d
,
0xec
,
0xcf
,
0x36
,
0xe8
,
0x49
};
stun_validater_d
ata
v
=
{
username_v
,
72
,
password_v
,
16
};
StunDefaultValidaterD
ata
v
=
{
username_v
,
72
,
password_v
,
16
};
stun_agent_init
(
&
agent
,
known_attributes
,
STUN_COMPATIBILITY_RFC5389
,
STUN_AGENT_USAGE_USE_FINGERPRINT
);
...
...
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