mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.encodings: Fix idna.to_unicode
This commit is contained in:
parent
50cc9d9e0a
commit
ee01f42195
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ static int Lidna_to_unicode(lua_State *L) /** idna.to_unicode(s) */
|
|||
size_t len;
|
||||
int32_t ulen, dest_len, output_len;
|
||||
const char *s = luaL_checklstring(L, 1, &len);
|
||||
UChar* ustr;
|
||||
UChar ustr[1024];
|
||||
UErrorCode err = U_ZERO_ERROR;
|
||||
UChar dest[1024];
|
||||
char output[1024];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue