Update of /cvsroot/linux-atm/linux-atm/src/lane
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2088/src/lane
Modified Files:
Tag: V2_5_3
ldb.c
Log Message:
Bug#23 linux-atm-2.5.1/src/lane/ldb.c:89: possible bad if test ?
https://sourceforge.net/p/linux-atm/bugs/23/
Index: ldb.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/lane/ldb.c,v
retrieving revision 1.2
retrieving revision 1.2.8.1
diff -C2 -d -r1.2 -r1.2.8.1
*** ldb.c 9 Oct 2001 22:33:07 -0000 1.2
--- ldb.c 25 Oct 2013 11:30:10 -0000 1.2.8.1
***************
*** 87,91 ****
valid_char(char test)
{
! return ((test >= '0' && test <= '9') || (test >= 'a' || test <= 'f') ||
(test >= 'A' && test <= 'F') || test == 'x' || test == 'X');
}
--- 87,91 ----
valid_char(char test)
{
! return ((test >= '0' && test <= '9') || (test >= 'a' && test <= 'f') ||
(test >= 'A' && test <= 'F') || test == 'x' || test == 'X');
}
|