No longer prefix international numbers with "+" if not necessary
This commit is contained in:
parent
480e12fe5e
commit
0e214179ea
@ -3638,8 +3638,9 @@ static void _on_code_cpbr(HayesChannel * channel, char const * answer)
|
||||
switch(u)
|
||||
{
|
||||
case 145:
|
||||
/* FIXME could it be in some cases that the "+" is
|
||||
* already there? (huawei) */
|
||||
if(number[0] == '+')
|
||||
break;
|
||||
/* prefix the number with a "+" */
|
||||
memmove(&number[1], number, sizeof(number) - 1);
|
||||
number[0] = '+';
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user