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
a202803c
Commit
a202803c
authored
Feb 23, 2009
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename STUN_USAGE_ICE_RETURN_RETRY into STUN_USAGE_ICE_RETURN_INVALID
parent
dc977770
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
stun/usages/ice.c
stun/usages/ice.c
+3
-3
stun/usages/ice.h
stun/usages/ice.h
+1
-1
No files found.
stun/usages/ice.c
View file @
a202803c
...
...
@@ -107,13 +107,13 @@ StunUsageIceReturn stun_usage_ice_conncheck_process (StunMessage *msg,
StunMessageReturn
val
;
if
(
stun_message_get_method
(
msg
)
!=
STUN_BINDING
)
return
STUN_USAGE_ICE_RETURN_
RETRY
;
return
STUN_USAGE_ICE_RETURN_
INVALID
;
switch
(
stun_message_get_class
(
msg
))
{
case
STUN_REQUEST
:
case
STUN_INDICATION
:
return
STUN_USAGE_ICE_RETURN_
RETRY
;
return
STUN_USAGE_ICE_RETURN_
INVALID
;
case
STUN_RESPONSE
:
break
;
...
...
@@ -121,7 +121,7 @@ StunUsageIceReturn stun_usage_ice_conncheck_process (StunMessage *msg,
case
STUN_ERROR
:
if
(
stun_message_find_error
(
msg
,
&
code
)
!=
STUN_MESSAGE_RETURN_SUCCESS
)
{
/* missing ERROR-CODE: ignore message */
return
STUN_USAGE_ICE_RETURN_
RETRY
;
return
STUN_USAGE_ICE_RETURN_
INVALID
;
}
if
(
code
==
STUN_ERROR_ROLE_CONFLICT
)
...
...
stun/usages/ice.h
View file @
a202803c
...
...
@@ -56,7 +56,7 @@ typedef enum {
typedef
enum
{
STUN_USAGE_ICE_RETURN_SUCCESS
,
STUN_USAGE_ICE_RETURN_ERROR
,
STUN_USAGE_ICE_RETURN_
RETRY
,
STUN_USAGE_ICE_RETURN_
INVALID
,
STUN_USAGE_ICE_RETURN_ROLE_CONFLICT
,
STUN_USAGE_ICE_RETURN_INVALID_REQUEST
,
STUN_USAGE_ICE_RETURN_INVALID_METHOD
,
...
...
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