Commit 28cd7fb6 authored by Tim Rühsen's avatar Tim Rühsen

Add missing errors in idn2_strerror_name()

parent cac19695
Pipeline #24902094 passed with stages
in 6 minutes 53 seconds
......@@ -230,11 +230,15 @@ idn2_strerror_name (int rc)
p = ERR2STR (IDN2_UALABEL_MISMATCH);
break;
case IDN2_INVALID_FLAGS:
p = ERR2STR (IDN2_INVALID_FLAGS);
break;
case IDN2_NOT_NFC:
p = ERR2STR (IDN2_NOT_NFC);
break;
case IDN2_2HYPHEN:
case IDN2_2HYPHEN:
p = ERR2STR (IDN2_2HYPHEN);
break;
......@@ -274,6 +278,18 @@ idn2_strerror_name (int rc)
p = ERR2STR (IDN2_BIDI);
break;
case IDN2_DOT_IN_LABEL:
p = ERR2STR (IDN2_DOT_IN_LABEL);
break;
case IDN2_INVALID_TRANSITIONAL:
p = ERR2STR (IDN2_INVALID_TRANSITIONAL);
break;
case IDN2_INVALID_NONTRANSITIONAL:
p = ERR2STR (IDN2_INVALID_NONTRANSITIONAL);
break;
default:
p = "IDN2_UNKNOWN";
break;
......
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