diff options
author | Marco d'Itri <md@linux.it> | 2006-03-24 21:53:05 +0100 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2013-03-30 02:31:33 +0100 |
commit | 27fd0b5493d63d5b26d189275e7c5029f16f92f3 (patch) | |
tree | 40b6d76f8136c1e503fc476b59052de684509f2d /whois.c | |
parent | 07b44b35686379eaf68566a715ca90b74e073ebe (diff) | |
download | whois-27fd0b5493d63d5b26d189275e7c5029f16f92f3.tar.gz |
Imported Debian version 4.7.13v4.7.13
Diffstat (limited to 'whois.c')
-rw-r--r-- | whois.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -453,6 +453,13 @@ char *queryformat(const char *server, const char *flags, const char *query) && !strchr(query, ' ') && !*flags) sprintf(buf, "-T dn,ace -C US-ASCII %s", query); else + /* here we have another registrar who could not make things simple + * -C sets the language for both input and output + */ + if (!isripe && strcmp(server, "whois.cat") == 0 && domcmp(query, ".cat") + && !strchr(query, ' ')) + sprintf(buf, "-C US-ASCII ace %s", query); + else #endif if (!isripe && (strcmp(server, "whois.nic.mil") == 0 || strcmp(server, "whois.nic.ad.jp") == 0) && |