Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
6452927f
Commit
6452927f
authored
Mar 14, 2013
by
jehan
Browse files
fix channel buffer lenth max size
parent
6bb52c55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/channel.c
src/channel.c
+1
-1
No files found.
src/channel.c
View file @
6452927f
...
...
@@ -127,7 +127,7 @@ static void belle_sip_channel_input_stream_reset(belle_sip_channel_input_stream_
input_stream
->
msg
=
NULL
;
}
static
size_t
belle_sip_channel_input_stream_get_buff_length
(
belle_sip_channel_input_stream_t
*
input_stream
)
{
return
MAX_CHANNEL_BUFF_SIZE
-
(
input_stream
->
write_ptr
-
input_stream
->
read_ptr
);
return
MAX_CHANNEL_BUFF_SIZE
-
(
input_stream
->
write_ptr
-
input_stream
->
buff
);
}
int
belle_sip_channel_process_data
(
belle_sip_channel_t
*
obj
,
unsigned
int
revents
){
...
...
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