aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/encodings.c
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
commit8b31cde5a9ac088d76e286a16a32d5bc97d8cffa (patch)
treee2f529c381e100df3589742dd0297c282116f6b9 /util-src/encodings.c
parent0ed8dc1f6e806747f35cc993280804163129655e (diff)
downloadprosody-8b31cde5a9ac088d76e286a16a32d5bc97d8cffa.tar.gz
prosody-8b31cde5a9ac088d76e286a16a32d5bc97d8cffa.zip
util.encodings: Fix small typo introduced in 7f789266b741
Diffstat (limited to 'util-src/encodings.c')
-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);