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
267a6767
Commit
267a6767
authored
Mar 31, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize variables to reduce unexpected behavior in case something goes wrong
parent
4e9b3e12
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
agent/agent.c
agent/agent.c
+3
-3
examples/simple-example.c
examples/simple-example.c
+1
-1
No files found.
agent/agent.c
View file @
267a6767
...
...
@@ -4681,11 +4681,11 @@ nice_agent_parse_remote_candidate_sdp (NiceAgent *agent, guint stream_id,
int
ntype
=
-
1
;
gchar
**
tokens
=
NULL
;
const
gchar
*
foundation
=
NULL
;
guint
component_id
;
guint
component_id
=
0
;
const
gchar
*
transport
=
NULL
;
guint32
priority
;
guint32
priority
=
0
;
const
gchar
*
addr
=
NULL
;
guint16
port
;
guint16
port
=
0
;
const
gchar
*
type
=
NULL
;
const
gchar
*
raddr
=
NULL
;
guint16
rport
=
0
;
...
...
examples/simple-example.c
View file @
267a6767
...
...
@@ -77,7 +77,7 @@ main(int argc, char *argv[])
{
NiceAgent
*
agent
;
gchar
*
stun_addr
=
NULL
;
guint
stun_port
;
guint
stun_port
=
0
;
gboolean
controlling
;
// Parse arguments
...
...
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