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
95d1e16f
Commit
95d1e16f
authored
Jan 11, 2016
by
Gautier Pelloux-Prayer
Browse files
account_creator: fix crash in set_username
parent
bd6add29
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/account_creator.c
View file @
95d1e16f
...
...
@@ -148,6 +148,7 @@ static LinphoneAccountCreatorStatus validate_uri(const char* username, const cha
if
(
addr
==
NULL
)
{
status
=
LinphoneAccountCreatorUsernameInvalid
;
goto
end
;
}
if
(
domain
&&
linphone_address_set_domain
(
addr
,
domain
)
!=
0
)
{
...
...
@@ -157,7 +158,6 @@ static LinphoneAccountCreatorStatus validate_uri(const char* username, const cha
if
(
display_name
&&
linphone_address_set_display_name
(
addr
,
display_name
)
!=
0
)
{
status
=
LinphoneAccountCreatorDisplayNameInvalid
;
}
linphone_address_unref
(
addr
);
end:
linphone_proxy_config_destroy
(
proxy
);
...
...
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