From dc9cc02982edae2b97fd0001547b50f8558fc14e Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 5 Jul 2016 12:58:13 -0400 Subject: [PATCH] s/publix/public/ --- include/libpsl.h.in | 2 +- src/psl.c | 2 +- tools/psl.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libpsl.h.in b/include/libpsl.h.in index 467021f..f8cbedc 100644 --- a/include/libpsl.h.in +++ b/include/libpsl.h.in @@ -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) diff --git a/src/psl.c b/src/psl.c index 9d33d2d..d704fff 100644 --- a/src/psl.c +++ b/src/psl.c @@ -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). diff --git a/tools/psl.c b/tools/psl.c index ec21a76..35f56df 100644 --- a/tools/psl.c +++ b/tools/psl.c @@ -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 \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");