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
liblinphone
Commits
fca2fd2e
Commit
fca2fd2e
authored
May 11, 2017
by
Ronan
Browse files
fix(account_creator): remove useless vars
parent
60c72c84
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/account_creator.c
View file @
fca2fd2e
...
...
@@ -115,21 +115,11 @@ LinphoneProxyConfig * linphone_account_creator_create_proxy_config(const Linphon
LinphoneProxyConfig
*
cfg
=
linphone_core_create_proxy_config
(
creator
->
core
);
char
*
identity_str
=
_get_identity
(
creator
);
LinphoneAddress
*
identity
=
linphone_address_new
(
identity_str
);
char
*
route
=
NULL
;
char
*
domain
=
NULL
;
ms_free
(
identity_str
);
if
(
creator
->
display_name
)
{
linphone_address_set_display_name
(
identity
,
creator
->
display_name
);
}
/*deprecated, use default proxy config instead*/
if
(
creator
->
route
)
{
route
=
ms_strdup_printf
(
"%s"
,
creator
->
route
);
}
/*deprecated, use default proxy config instead*/
if
(
creator
->
domain
)
{
domain
=
ms_strdup_printf
(
"%s;transport=%s"
,
creator
->
domain
,
linphone_transport_to_string
(
creator
->
transport
));
}
linphone_proxy_config_set_identity_address
(
cfg
,
identity
);
if
(
creator
->
phone_country_code
)
{
linphone_proxy_config_set_dial_prefix
(
cfg
,
creator
->
phone_country_code
);
...
...
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