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
267c2b90
Commit
267c2b90
authored
May 20, 2010
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conncheck: Remove useless checks from priv_store_pending_check
parent
793c301b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
16 deletions
+10
-16
agent/conncheck.c
agent/conncheck.c
+10
-16
No files found.
agent/conncheck.c
View file @
267c2b90
...
...
@@ -1864,23 +1864,17 @@ static int priv_store_pending_check (NiceAgent *agent, Component *component,
}
icheck
=
g_slice_new0
(
IncomingCheck
);
if
(
icheck
)
{
GSList
*
pending
=
g_slist_append
(
component
->
incoming_checks
,
icheck
);
if
(
pending
)
{
component
->
incoming_checks
=
pending
;
icheck
->
from
=
*
from
;
icheck
->
local_socket
=
socket
;
icheck
->
priority
=
priority
;
icheck
->
use_candidate
=
use_candidate
;
icheck
->
username_len
=
username_len
;
icheck
->
username
=
NULL
;
if
(
username_len
>
0
)
icheck
->
username
=
g_memdup
(
username
,
username_len
);
return
0
;
}
}
component
->
incoming_checks
=
g_slist_append
(
component
->
incoming_checks
,
icheck
);
icheck
->
from
=
*
from
;
icheck
->
local_socket
=
socket
;
icheck
->
priority
=
priority
;
icheck
->
use_candidate
=
use_candidate
;
icheck
->
username_len
=
username_len
;
icheck
->
username
=
NULL
;
if
(
username_len
>
0
)
icheck
->
username
=
g_memdup
(
username
,
username_len
);
return
-
1
;
return
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