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
a95e8f62
Commit
a95e8f62
authored
Sep 23, 2015
by
Simon Morlat
Browse files
fix bad log
parent
b3e7eda8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
src/channel.c
src/channel.c
+4
-0
src/http-provider.c
src/http-provider.c
+1
-1
src/transports/tls_channel_polarssl.c
src/transports/tls_channel_polarssl.c
+1
-1
No files found.
src/channel.c
View file @
a95e8f62
...
...
@@ -1335,6 +1335,10 @@ int belle_sip_channel_queue_message(belle_sip_channel_t *obj, belle_sip_message_
}
void
belle_sip_channel_force_close
(
belle_sip_channel_t
*
obj
){
if
(
obj
->
resolver_ctx
){
belle_sip_resolver_context_cancel
(
obj
->
resolver_ctx
);
obj
->
resolver_ctx
=
NULL
;
}
obj
->
force_close
=
1
;
channel_set_state
(
obj
,
BELLE_SIP_CHANNEL_DISCONNECTED
);
}
...
...
src/http-provider.c
View file @
a95e8f62
...
...
@@ -383,7 +383,7 @@ belle_sip_list_t **belle_http_provider_get_channels(belle_http_provider_t *obj,
static
void
provider_remove_channel
(
belle_http_provider_t
*
obj
,
belle_sip_channel_t
*
chan
){
belle_sip_list_t
**
channels
=
belle_http_provider_get_channels
(
obj
,
belle_sip_channel_get_transport_name
(
chan
));
*
channels
=
belle_sip_list_remove
(
*
channels
,
chan
);
belle_sip_message
(
"channel [%p] removed from http provider."
,
obj
);
belle_sip_message
(
"channel [%p] removed from http provider."
,
chan
);
belle_sip_object_unref
(
chan
);
}
...
...
src/transports/tls_channel_polarssl.c
View file @
a95e8f62
...
...
@@ -307,7 +307,7 @@ static int tls_process_http_connect(belle_sip_tls_channel_t *obj) {
#ifdef HAVE_POLARSSL
char
*
request
;
belle_sip_channel_t
*
channel
=
(
belle_sip_channel_t
*
)
obj
;
belle_sip_tls_listening_point_t
*
lp
=
(
belle_sip_tls_listening_point_t
*
)
(
channel
->
lp
)
;
belle_sip_tls_listening_point_t
*
lp
=
(
belle_sip_tls_listening_point_t
*
)
channel
->
lp
;
int
err
;
char
ip
[
64
];
int
port
;
...
...
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