From 31dc108c7324eee05c251fc626030ed77e15367f Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 4 Feb 2007 13:46:45 +0200 Subject: [PATCH] end_with_known_tld: Make tld[] const. --- src/protocol/uri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol/uri.c b/src/protocol/uri.c index d33ddf3c..dd5cb090 100644 --- a/src/protocol/uri.c +++ b/src/protocol/uri.c @@ -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", -- 2.11.4.GIT