char cur = aHost[i]; if (cur == '.')
PRUnichar cur = aHost[i]; if (cur == PRUnichar('.'))
PRBool IsNumericHostName(const nsString& aHost){  PRInt32 periodCount = 0;  for (PRUint32 i = 0; i < aHost.Length(); i ++) {    char cur = aHost[i];    if (cur == '.')      periodCount ++;    else if (cur < PRUnichar('0') || cur > PRUnichar('9'))      return PR_FALSE;  }  return (periodCount == 3);}