Commit da9bb19e authored by Tim Rühsen's avatar Tim Rühsen

Revert "Remove redundant input check in idn2_to_ascii_4i()"

This reverts commit 144f4ba6.

Undoing a stupid failure...
parent 144f4ba6
......@@ -593,6 +593,13 @@ idn2_to_ascii_4i (const uint32_t * input, size_t inlen, char * output, int flags
char *out;
int rc;
if (!input)
if (output)
*output = 0;
return IDN2_OK;
rc = idn2_to_ascii_4i2 (input, inlen, &out, flags);
if (rc == IDN2_OK)
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