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:
parent
543b0f6768
commit
31dc108c73
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user