Commit 9de84f04 authored by Simon Josefsson's avatar Simon Josefsson

Update.

parent e30e15e9
......@@ -109,7 +109,8 @@ idn2_domain_u8 (const char *what, const uint8_t *src, uint8_t **dst);
typedef enum
{
IDN2_REJECT_NON_NFC_INPUTS = 1
IDN2_TO_UNICODE = 1,
IDN2_NFC_INPUT = 2
} idn2_flags;
extern IDN2_API int
......
......@@ -437,10 +437,10 @@ idn2_lookup_u8 (const uint8_t *src, uint8_t **alabel, int flags)
const char *what;
int rc;
if (flags & IDN2_REJECT_NON_NFC_INPUTS)
what = "check-nfc,ace";
else
if (flags & IDN2_NFC_INPUT)
what = "nfc,ace";
else
what = "check-nfc,ace";
rc = idn2_domain_u8 (what, src, alabel);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment