mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 00:29:21 +00:00
Merge branch 'master' of git.sv.gnu.org:/srv/git/linphone
This commit is contained in:
commit
7a82ee71fe
1 changed files with 6 additions and 0 deletions
|
|
@ -1921,6 +1921,12 @@ int sal_unregister(SalOp *h){
|
|||
SalAddress * sal_address_new(const char *uri){
|
||||
osip_from_t *from;
|
||||
osip_from_init(&from);
|
||||
|
||||
// Remove front spaces
|
||||
while (uri[0]==' ') {
|
||||
uri++;
|
||||
}
|
||||
|
||||
if (osip_from_parse(from,uri)!=0){
|
||||
osip_from_free(from);
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue