1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2009-03-03 21:08:12 +00:00
parent 5000597c67
commit a15d86fa74
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ static int append_address(Octstr *p, Octstr *addr_spec, char *prefix, int add_ty
else
y = "";
j = octstr_case_search(v, octstr_imm("/TYPE=PLMN"),0);
if (j >= 0) {
if (j >= 0 && octstr_search_char(v, '@', 0) < 0) { /* NO '@' */
z = octstr_copy(v, 2, j-2); /* skip the initial char that is only for info purposes. */
typ = octstr_len(z) <= 6 ? "ShortCode" : "Number";
} else {