aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-06-04 19:18:11 +0100
committerMatthew Wild <mwild1@gmail.com>2011-06-04 19:18:11 +0100
commitf083fe1783ebc3228b96c1d836fba73b6dbde85c (patch)
treee2f529c381e100df3589742dd0297c282116f6b9
parent63203963a58c1a74d15f728f00dd178af992311e (diff)
downloadprosody-f083fe1783ebc3228b96c1d836fba73b6dbde85c.tar.gz
prosody-f083fe1783ebc3228b96c1d836fba73b6dbde85c.zip
util.encodings: Fix small typo introduced in 7f789266b741
-rw-r--r--util-src/encodings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/encodings.c b/util-src/encodings.c
index 9b6c6cf4..b9b6160a 100644
--- a/util-src/encodings.c
+++ b/util-src/encodings.c
@@ -146,7 +146,7 @@ static int icu_stringprep_prep(lua_State *L, const UStringPrepProfile *profile)
}
u_strFromUTF8(unprepped, 1024, &unprepped_len, input, input_len, &err);
if (U_FAILURE(err)) {
- luah_pushnil(L);
+ lua_pushnil(L);
return 1;
}
prepped_len = usprep_prepare(profile, unprepped, unprepped_len, prepped, 1024, 0, NULL, &err);