From 9eedf5f2462cb6b8dddd9b1816422571f23241bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Mon, 29 Oct 2018 14:56:27 +0100 Subject: [PATCH] Fix code broken by 2nd last patch --- src/psl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/psl.c b/src/psl.c index c80edec..246ac2e 100644 --- a/src/psl.c +++ b/src/psl.c @@ -661,7 +661,7 @@ static psl_idna_t *psl_idna_open(void) return NULL; } -static void psl_idna_close(psl_idna_t *idna _UNUSED) +static void psl_idna_close(psl_idna_t *idna PSL_UNUSED) { #if defined(WITH_LIBICU) if (idna) @@ -669,7 +669,7 @@ static void psl_idna_close(psl_idna_t *idna _UNUSED) #endif } -static int psl_idna_toASCII(psl_idna_t *idna _UNUSED, const char *utf8, char **ascii) +static int psl_idna_toASCII(psl_idna_t *idna PSL_UNUSED, const char *utf8, char **ascii) { int ret = -1; @@ -765,7 +765,7 @@ cleanup: #elif defined(WITH_LIBIDN) int rc; - if (!_utf8_is_valid(utf8)) { + if (!utf8_is_valid(utf8)) { /* fprintf(stderr, "Invalid UTF-8 sequence not converted: '%s'\n", utf8); */ return -1; }