for (val = 0; len && is_digit(*str); ++str, --len) 
for (val = 0; len && isdigit(*str); ++str, --len) 
static unsigned int dec_to_uint (unsigned char* str, int len){	unsigned val;	if (!len) 		len = strlen(str);	for (val = 0; len && is_digit(*str); ++str, --len)		val = (val * 10) + (*str - (unsigned)'0');		return val;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8e18d1f9c9dcbf2de5b79cad771ed639983ab6cd/sdla_x25.c/buggy/drivers/net/wan/sdla_x25.c