1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04: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)
{
int i;
static const unsigned char *tld[] =
static const unsigned char *const tld[] =
{ "com", "edu", "net",
"org", "gov", "mil",
"int", "biz", "arpa",