fielding 96/12/01 06:49:10
Modified: src mod_access.c
Log:
Remove an unnecessary expression in the conditional for is_ip().
Revision Changes Path
1.12 +2 -1 apache/src/mod_access.c
Index: mod_access.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_access.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C3 -r1.11 -r1.12
*** mod_access.c 1996/12/01 13:48:23 1.11
--- mod_access.c 1996/12/01 14:49:09 1.12
***************
*** 169,175 ****
static int is_ip(const char *host)
{
! while (*host && ((*host == '.') || isdigit(*host))) host++;
return (*host == '\0');
}
--- 169,176 ----
static int is_ip(const char *host)
{
! while ((*host == '.') || isdigit(*host))
! host++;
return (*host == '\0');
}