fixe wrong character class macros
This commit is contained in:
		| @ -221,21 +221,21 @@ int qse_parsehttprange (const qse_mchar_t* str, qse_http_range_t* range) | |||||||
| 	str += 6; | 	str += 6; | ||||||
|  |  | ||||||
| 	from = 0; | 	from = 0; | ||||||
| 	if (QSE_ISDIGIT(*str)) | 	if (QSE_ISMDIGIT(*str)) | ||||||
| 	{ | 	{ | ||||||
| 		do | 		do | ||||||
| 		{ | 		{ | ||||||
| 			from = from * 10 + (*str - QSE_MT('0')); | 			from = from * 10 + (*str - QSE_MT('0')); | ||||||
| 			str++; | 			str++; | ||||||
| 		} | 		} | ||||||
| 		while (QSE_ISDIGIT(*str)); | 		while (QSE_ISMDIGIT(*str)); | ||||||
| 	} | 	} | ||||||
| 	else type = QSE_HTTP_RANGE_SUFFIX; | 	else type = QSE_HTTP_RANGE_SUFFIX; | ||||||
|  |  | ||||||
| 	if (*str != QSE_MT('-')) return -1; | 	if (*str != QSE_MT('-')) return -1; | ||||||
| 	str++; | 	str++; | ||||||
|  |  | ||||||
| 	if (QSE_ISDIGIT(*str)) | 	if (QSE_ISMDIGIT(*str)) | ||||||
| 	{ | 	{ | ||||||
| 		to = 0; | 		to = 0; | ||||||
| 		do | 		do | ||||||
| @ -243,7 +243,7 @@ int qse_parsehttprange (const qse_mchar_t* str, qse_http_range_t* range) | |||||||
| 			to = to * 10 + (*str - QSE_MT('0')); | 			to = to * 10 + (*str - QSE_MT('0')); | ||||||
| 			str++; | 			str++; | ||||||
| 		} | 		} | ||||||
| 		while (QSE_ISDIGIT(*str)); | 		while (QSE_ISMDIGIT(*str)); | ||||||
| 	} | 	} | ||||||
| 	else to = QSE_TYPE_MAX(qse_ulong_t);  | 	else to = QSE_TYPE_MAX(qse_ulong_t);  | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user