Software /
code /
prosody
Diff
util-src/encodings.c @ 4271:18d888c8c12d
util.encodings: Fix idna.to_unicode
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 22 May 2011 15:26:03 -0700 |
parent | 3965:4ae4b2c0e99d |
child | 4272:0a4ce2086a88 |
line wrap: on
line diff
--- a/util-src/encodings.c Sat May 28 00:23:05 2011 +0100 +++ b/util-src/encodings.c Sun May 22 15:26:03 2011 -0700 @@ -315,7 +315,7 @@ 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];