mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Remove trailing spaces on linphonec call with options
This commit is contained in:
parent
bddbdc7cd8
commit
304361add5
1 changed files with 2 additions and 0 deletions
|
|
@ -558,10 +558,12 @@ lpc_cmd_call(LinphoneCore *lc, char *args)
|
|||
opt2=strstr(args,"--early-media");
|
||||
if (opt1){
|
||||
opt1[0]='\0';
|
||||
while(--opt1 > args && opt1[0]==' ') opt1[0]='\0';
|
||||
linphone_call_params_enable_video (cp,FALSE);
|
||||
}
|
||||
if (opt2){
|
||||
opt2[0]='\0';
|
||||
while(--opt2 > args && opt2[0]==' ') opt2[0]='\0';
|
||||
linphone_call_params_enable_early_media_sending(cp,TRUE);
|
||||
}
|
||||
if ( NULL == (call=linphone_core_invite_with_params(lc, args,cp)) )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue