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
618cb461
Commit
618cb461
authored
Jun 14, 2016
by
Ghislain MARY
Browse files
Fix warnings when building with Visual Studio.
parent
5650d325
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/channel.c
View file @
618cb461
...
...
@@ -400,7 +400,7 @@ static int check_body(belle_sip_channel_t *obj){
}
static
int
acquire_body_simple
(
belle_sip_channel_t
*
obj
,
int
end_of_stream
){
in
t
content_length
=
obj
->
input_stream
.
content_length
;
size_
t
content_length
=
obj
->
input_stream
.
content_length
;
size_t
to_read
=
obj
->
input_stream
.
write_ptr
-
obj
->
input_stream
.
read_ptr
;
belle_sip_message_t
*
msg
=
obj
->
input_stream
.
msg
;
belle_sip_body_handler_t
*
bh
=
belle_sip_message_get_body_handler
(
msg
);
...
...
src/channel.h
View file @
618cb461
...
...
@@ -76,7 +76,7 @@ typedef struct belle_sip_channel_input_stream{
char
*
read_ptr
;
char
*
write_ptr
;
belle_sip_message_t
*
msg
;
in
t
content_length
;
size_
t
content_length
;
int
chuncked_mode
;
int
chunk_size
;
int
chunk_read_size
;
...
...
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