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
35b4e5be
Commit
35b4e5be
authored
Nov 13, 2009
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
always check return value of stun_agent_init_error
parent
13c69615
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
stun/tools/stund.c
stun/tools/stund.c
+3
-2
No files found.
stun/tools/stund.c
View file @
35b4e5be
...
@@ -263,8 +263,9 @@ static int dgram_process (int sock, StunAgent *oldagent, StunAgent *newagent)
...
@@ -263,8 +263,9 @@ static int dgram_process (int sock, StunAgent *oldagent, StunAgent *newagent)
break
;
break
;
default:
default:
stun_agent_init_error
(
agent
,
&
response
,
buf
,
sizeof
(
buf
),
if
(
!
stun_agent_init_error
(
agent
,
&
response
,
buf
,
sizeof
(
buf
),
&
request
,
STUN_ERROR_BAD_REQUEST
);
&
request
,
STUN_ERROR_BAD_REQUEST
))
return
-
1
;
}
}
iov
.
iov_len
=
stun_agent_finish_message
(
agent
,
&
response
,
NULL
,
0
);
iov
.
iov_len
=
stun_agent_finish_message
(
agent
,
&
response
,
NULL
,
0
);
...
...
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