[srvx-commits] CVS: services/src tools.c,1.119,1.120
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2002-12-17 20:25:00
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv23195/src
Modified Files:
tools.c
Log Message:
accept more strings as host names in hostmasks, since accounts can
have those characters
Index: tools.c
===================================================================
RCS file: /cvsroot/srvx/services/src/tools.c,v
retrieving revision 1.119
retrieving revision 1.120
diff -C2 -r1.119 -r1.120
*** tools.c 22 Nov 2002 04:29:46 -0000 1.119
--- tools.c 17 Dec 2002 20:24:56 -0000 1.120
***************
*** 338,342 ****
while (*text && *text != '@' && !isspace((unsigned char)*text)) text++;
if (*text++ != '@') return 0;
! while (*text && (isalnum((unsigned char)*text) || strchr(".-?*", *text))) text++;
return !*text;
}
--- 338,342 ----
while (*text && *text != '@' && !isspace((unsigned char)*text)) text++;
if (*text++ != '@') return 0;
! while (*text && !isspace((unsigned char)*text)) text++;
return !*text;
}
|