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
26262bb7
Commit
26262bb7
authored
Mar 01, 2012
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Callback now takes a GSocket * as argument
parent
bf30b2e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
agent/agent.c
agent/agent.c
+1
-7
socket/tcp-bsd.c
socket/tcp-bsd.c
+2
-2
No files found.
agent/agent.c
View file @
26262bb7
...
...
@@ -2586,13 +2586,10 @@ io_ctx_free (IOCtx *ctx)
static
gboolean
nice_agent_g_source_cb
(
GIOChannel
*
io
,
G_GNUC_UNUSED
GSocket
*
gsocket
,
GIOCondition
condition
,
gpointer
data
)
{
/* return value is whether to keep the source */
IOCtx
*
ctx
=
data
;
NiceAgent
*
agent
=
ctx
->
agent
;
Stream
*
stream
=
ctx
->
stream
;
...
...
@@ -2607,9 +2604,6 @@ nice_agent_g_source_cb (
return
FALSE
;
}
/* note: dear compiler, these are for you: */
(
void
)
io
;
len
=
_nice_agent_recv
(
agent
,
stream
,
component
,
ctx
->
socket
,
MAX_BUFFER_SIZE
,
buf
);
...
...
socket/tcp-bsd.c
View file @
26262bb7
...
...
@@ -80,7 +80,7 @@ static gboolean socket_is_reliable (NiceSocket *sock);
static
void
add_to_be_sent
(
NiceSocket
*
sock
,
const
gchar
*
buf
,
guint
len
,
gboolean
head
);
static
void
free_to_be_sent
(
struct
to_be_sent
*
tbs
);
static
gboolean
socket_send_more
(
G
IOChannel
*
source
,
GIOCondition
condition
,
static
gboolean
socket_send_more
(
G
Socket
*
gsocket
,
GIOCondition
condition
,
gpointer
data
);
NiceSocket
*
...
...
@@ -313,7 +313,7 @@ socket_is_reliable (NiceSocket *sock)
static
gboolean
socket_send_more
(
G
IOChannel
*
source
,
G
Socket
*
gsocket
,
GIOCondition
condition
,
gpointer
data
)
{
...
...
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