1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

end_with_known_tld: Make tld[] const.

This commit is contained in:
Kalle Olavi Niemitalo 2007-02-04 13:46:45 +02:00 committed by Kalle Olavi Niemitalo
parent 543b0f6768
commit 31dc108c73

View File

@ -93,7 +93,7 @@ int
end_with_known_tld(unsigned char *s, int slen) end_with_known_tld(unsigned char *s, int slen)
{ {
int i; int i;
static const unsigned char *tld[] = static const unsigned char *const tld[] =
{ "com", "edu", "net", { "com", "edu", "net",
"org", "gov", "mil", "org", "gov", "mil",
"int", "biz", "arpa", "int", "biz", "arpa",