projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13457ac
)
util.encodings: Fix idna.to_unicode
author
Paul Aurich
<paul@darkrain42.org>
Sun, 22 May 2011 22:26:03 +0000
(15:26 -0700)
committer
Paul Aurich
<paul@darkrain42.org>
Sun, 22 May 2011 22:26:03 +0000
(15:26 -0700)
util-src/encodings.c
patch
|
blob
|
history
diff --git
a/util-src/encodings.c
b/util-src/encodings.c
index 2a4653fbf15979ca525046dc48d112686ecf9063..c258bd40dafffe5c2967e5262818118e2bf72099 100644
(file)
--- 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];