diff options
author | Paul Aurich <paul@darkrain42.org> | 2011-05-22 15:26:03 -0700 |
---|---|---|
committer | Paul Aurich <paul@darkrain42.org> | 2011-05-22 15:26:03 -0700 |
commit | 60eed474227496801e5c76f94fee2b83288e80ca (patch) | |
tree | a1900c5869817e24b4318f5f7c2410211f7889e9 /util-src | |
parent | c33762ac638453c18a9a0cfbe1460b7dc7c14c90 (diff) | |
download | prosody-60eed474227496801e5c76f94fee2b83288e80ca.tar.gz prosody-60eed474227496801e5c76f94fee2b83288e80ca.zip |
util.encodings: Fix idna.to_unicode
Diffstat (limited to 'util-src')
-rw-r--r-- | util-src/encodings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/encodings.c b/util-src/encodings.c index 2a4653fb..c258bd40 100644 --- a/util-src/encodings.c +++ b/util-src/encodings.c @@ -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]; |