Back out .SU workaround - people at whois-servers.net set up

su.whois-servers.net
This commit is contained in:
Andrey A. Chernov 2003-06-29 23:56:31 +00:00
parent dbc6f4c07d
commit e5637075a3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117050

View File

@ -175,8 +175,6 @@ main(int argc, char *argv[])
}
while (argc-- > 0) {
if (country != NULL) {
if (strcasecmp(country, "su") == 0)
country = "ru";
s_asprintf(&qnichost, "%s%s", country, QNICHOST_TAIL);
whois(*argv, qnichost, flags);
} else if (use_qnichost)
@ -218,11 +216,8 @@ choose_server(char *domain)
return (NULL);
if (isdigit((unsigned char)*++pos))
s_asprintf(&retval, "%s", ANICHOST);
else {
if (strcasecmp(pos, "su") == 0)
pos = "ru";
else
s_asprintf(&retval, "%s%s", pos, QNICHOST_TAIL);
}
return (retval);
}