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
e641faf7
Commit
e641faf7
authored
Nov 14, 2013
by
jehan
Browse files
add macro BELLE_SIP_DONT_CHECK_HEADERS_IN_MESSAGE to disable headers checking
parent
bc36b700
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/provider.c
View file @
e641faf7
...
...
@@ -164,7 +164,12 @@ static void belle_sip_provider_dispatch_response(belle_sip_provider_t* prov, bel
}
void
belle_sip_provider_dispatch_message
(
belle_sip_provider_t
*
prov
,
belle_sip_message_t
*
msg
){
if
(
belle_sip_message_check_headers
(
msg
)){
if
(
TRUE
#ifndef BELLE_SIP_DONT_CHECK_HEADERS_IN_MESSAGE
&&
belle_sip_message_check_headers
(
msg
)
#endif
){
if
(
belle_sip_message_is_request
(
msg
)){
belle_sip_provider_dispatch_request
(
prov
,(
belle_sip_request_t
*
)
msg
);
}
else
{
...
...
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