add colon as valid MSN char for NI1 SPID

This commit is contained in:
Karsten Keil 2000-06-19 20:59:49 +00:00
parent 0fc55a091b
commit 11fd40671f
1 changed files with 2 additions and 2 deletions

View File

@ -2859,8 +2859,8 @@ isdn_tty_get_msnstr(char *n, char **p)
int limit = ISDN_MSNLEN - 1;
while (((*p[0] >= '0' && *p[0] <= '9') ||
/* Why a comma ??? */
(*p[0] == ',')) &&
/* Why a comma ??? */
(*p[0] == ',') || (*p[0] == ':')) &&
(limit--))
*n++ = *p[0]++;
*n = '\0';