removed call to deprecated string method

This commit is contained in:
rickg%netscape.com 2000-03-21 04:32:44 +00:00
Родитель a860304f2e
Коммит c236c5f02d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -754,7 +754,7 @@ nsDNSService::Lookup(nsISupports* clientContext,
PRBool numeric = PR_TRUE;
for (const char *hostCheck = hostName; *hostCheck; hostCheck++) {
if (!nsString2::IsDigit(*hostCheck) && (*hostCheck != '.') ) {
if (!nsCRT::IsAsciiDigit(*hostCheck) && (*hostCheck != '.') ) {
numeric = PR_FALSE;
break;
}