Software /
code /
prosody
Comparison
util-src/encodings.c @ 4302:bbb0bf0a09f5
util.encodings: Fix small typo introduced in 7f789266b741
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 04 Jun 2011 19:18:11 +0100 |
parent | 4273:7f789266b741 |
child | 6411:6c8f6364bc48 |
child | 6591:fe3018a2f187 |
comparison
equal
deleted
inserted
replaced
4301:1484ac561b28 | 4302:bbb0bf0a09f5 |
---|---|
144 lua_pushnil(L); | 144 lua_pushnil(L); |
145 return 1; | 145 return 1; |
146 } | 146 } |
147 u_strFromUTF8(unprepped, 1024, &unprepped_len, input, input_len, &err); | 147 u_strFromUTF8(unprepped, 1024, &unprepped_len, input, input_len, &err); |
148 if (U_FAILURE(err)) { | 148 if (U_FAILURE(err)) { |
149 luah_pushnil(L); | 149 lua_pushnil(L); |
150 return 1; | 150 return 1; |
151 } | 151 } |
152 prepped_len = usprep_prepare(profile, unprepped, unprepped_len, prepped, 1024, 0, NULL, &err); | 152 prepped_len = usprep_prepare(profile, unprepped, unprepped_len, prepped, 1024, 0, NULL, &err); |
153 if (U_FAILURE(err)) { | 153 if (U_FAILURE(err)) { |
154 lua_pushnil(L); | 154 lua_pushnil(L); |