Software / code / prosody
Changeset
4271:18d888c8c12d
util.encodings: Fix idna.to_unicode
| author | Paul Aurich <paul@darkrain42.org> |
|---|---|
| date | Sun, 22 May 2011 15:26:03 -0700 |
| parents | 4270:d2d47fde9811 |
| children | 4272:0a4ce2086a88 |
| files | util-src/encodings.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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];