s/publix/public/

This commit is contained in:
Daniel Kahn Gillmor 2016-07-05 12:58:13 -04:00 committed by Tim Rühsen
parent 248327e4aa
commit dc9cc02982
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@
extern "C" {
#endif
/* types for psl_is_publix_suffix2() */
/* types for psl_is_public_suffix2() */
#define PSL_TYPE_ICANN (1<<0)
#define PSL_TYPE_PRIVATE (1<<1)
#define PSL_TYPE_ANY (PSL_TYPE_ICANN | PSL_TYPE_PRIVATE)

View File

@ -987,7 +987,7 @@ int psl_is_public_suffix2(const psl_ctx_t *psl, const char *domain, int type)
* @psl: PSL context
* @domain: Domain string
*
* This function finds the longest publix suffix part of @domain by the means
* This function finds the longest public suffix part of @domain by the means
* of the [Mozilla Public Suffix List](https://publicsuffix.org).
*
* International @domain names have to be either in lowercase UTF-8 or in ASCII form (punycode).

View File

@ -50,7 +50,7 @@ static void usage(int err, FILE* f)
fprintf(f, " --is-public-suffix check if domains are public suffixes [default]\n");
fprintf(f, " --is-cookie-domain-acceptable <cookie-domain>\n");
fprintf(f, " check if cookie-domain is acceptable for domains\n");
fprintf(f, " --print-unreg-domain print the longest publix suffix part\n");
fprintf(f, " --print-unreg-domain print the longest public suffix part\n");
fprintf(f, " --print-reg-domain print the shortest private suffix part\n");
fprintf(f, " --print-info print info about library builtin data\n");
fprintf(f, "\n");