Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
belle-sip
Commits
ab628a81
Commit
ab628a81
authored
Sep 09, 2013
by
jehan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove belle_sip_uri_fix
parent
85c937b0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
28 deletions
+29
-28
.cproject
.cproject
+27
-19
include/belle-sip/uri.h
include/belle-sip/uri.h
+0
-4
src/belle_sip_uri_impl.c
src/belle_sip_uri_impl.c
+1
-4
src/provider.c
src/provider.c
+1
-1
No files found.
.cproject
View file @
ab628a81
...
...
@@ -104,25 +104,6 @@
<resource
resourceType=
"PROJECT"
workspacePath=
"/belle-sip"
/>
</configuration>
</storageModule>
<storageModule
moduleId=
"org.eclipse.cdt.make.core.buildtargets"
>
<buildTargets>
<target
name=
"install"
path=
""
targetID=
"org.eclipse.cdt.build.MakeTargetBuilder"
>
<buildCommand>
make
</buildCommand>
<buildArguments/>
<buildTarget>
install
</buildTarget>
<stopOnError>
true
</stopOnError>
<useDefaultCommand>
true
</useDefaultCommand>
<runAllBuilders>
true
</runAllBuilders>
</target>
<target
name=
"test"
path=
"tester"
targetID=
"org.eclipse.cdt.build.MakeTargetBuilder"
>
<buildCommand>
make
</buildCommand>
<buildTarget>
test
</buildTarget>
<stopOnError>
true
</stopOnError>
<useDefaultCommand>
true
</useDefaultCommand>
<runAllBuilders>
true
</runAllBuilders>
</target>
</buildTargets>
</storageModule>
<storageModule
moduleId=
"org.eclipse.cdt.core.LanguageSettingsProviders"
/>
<storageModule
moduleId=
"org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"
/>
<storageModule
moduleId=
"scannerConfiguration"
>
...
...
@@ -297,4 +278,31 @@
</profile>
</scannerConfigBuildInfo>
</storageModule>
<storageModule
moduleId=
"org.eclipse.cdt.make.core.buildtargets"
>
<buildTargets>
<target
name=
"install"
path=
""
targetID=
"org.eclipse.cdt.build.MakeTargetBuilder"
>
<buildCommand>
make
</buildCommand>
<buildTarget>
install
</buildTarget>
<stopOnError>
true
</stopOnError>
<useDefaultCommand>
true
</useDefaultCommand>
<runAllBuilders>
true
</runAllBuilders>
</target>
<target
name=
"all"
path=
""
targetID=
"org.eclipse.cdt.build.MakeTargetBuilder"
>
<buildCommand>
make
</buildCommand>
<buildArguments>
CFLAGS="-g -Wall " -j3
</buildArguments>
<buildTarget>
all
</buildTarget>
<stopOnError>
true
</stopOnError>
<useDefaultCommand>
true
</useDefaultCommand>
<runAllBuilders>
true
</runAllBuilders>
</target>
<target
name=
"test"
path=
"tester"
targetID=
"org.eclipse.cdt.build.MakeTargetBuilder"
>
<buildCommand>
make
</buildCommand>
<buildArguments>
CFLAGS="-g -Wall " -j3
</buildArguments>
<buildTarget>
test
</buildTarget>
<stopOnError>
true
</stopOnError>
<useDefaultCommand>
true
</useDefaultCommand>
<runAllBuilders>
true
</runAllBuilders>
</target>
</buildTargets>
</storageModule>
</cproject>
include/belle-sip/uri.h
View file @
ab628a81
...
...
@@ -175,10 +175,6 @@ BELLESIP_EXPORT void belle_sip_uri_set_user_param(belle_sip_uri_t* uri,const cha
*/
BELLESIP_EXPORT
void
belle_sip_uri_set_user_password
(
belle_sip_uri_t
*
uri
,
const
char
*
userPassword
)
;
/**
* Fix secure attribute to TRUE if transport is set to TLS (new sips scheme)
**/
BELLESIP_EXPORT
void
belle_sip_uri_fix
(
belle_sip_uri_t
*
uri
);
/**
* This method returns the URI as a string.
*
...
...
src/belle_sip_uri_impl.c
View file @
ab628a81
...
...
@@ -165,10 +165,7 @@ int belle_sip_uri_get_listening_port(const belle_sip_uri_t *uri){
}
void
belle_sip_uri_fix
(
belle_sip_uri_t
*
uri
){
const
char
*
transport
=
belle_sip_uri_get_transport_param
(
uri
);
if
(
transport
&&
strcasecmp
(
transport
,
"tls"
)
==
0
){
belle_sip_uri_set_secure
(
uri
,
TRUE
);
}
/*nop, to be removed*/
}
SIP_URI_GET_SET_BOOL
(
secure
)
...
...
src/provider.c
View file @
ab628a81
...
...
@@ -336,7 +336,7 @@ static void channel_on_sending(belle_sip_channel_listener_t *obj, belle_sip_chan
if
(
belle_sip_uri_get_port
(
contact_uri
)
<=
0
&&
port
!=
belle_sip_listening_point_get_well_known_port
(
transport
))
{
belle_sip_uri_set_port
(
contact_uri
,
port
);
}
belle_sip_uri_fix
(
contact_uri
);
}
if
(
!
content_lenght
&&
strcasecmp
(
"udp"
,
belle_sip_channel_get_transport_name
(
chan
))
!=
0
)
{
content_lenght
=
belle_sip_header_content_length_create
(
0
);
...
...
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