aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-06-29 10:11:55 +0100
committerMatthew Wild <mwild1@gmail.com>2013-06-29 10:11:55 +0100
commit82bd1a5967eba247d95ddde8d8d77197b2bada91 (patch)
treec8d6f85995dc8549113fd74d2e095725531f60cb /util-src
parent60059d543ff5cb323d6c190a7e729404ad22aad4 (diff)
parentaccb25e18fd305ff306ed8f2af9e535c90dca607 (diff)
downloadprosody-82bd1a5967eba247d95ddde8d8d77197b2bada91.tar.gz
prosody-82bd1a5967eba247d95ddde8d8d77197b2bada91.zip
Merge 0.9->trunk
Diffstat (limited to 'util-src')
-rw-r--r--util-src/pposix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-src/pposix.c b/util-src/pposix.c
index f5cc8270..e2cd142e 100644
--- a/util-src/pposix.c
+++ b/util-src/pposix.c
@@ -500,6 +500,7 @@ int lc_setrlimit(lua_State *L) {
if(arguments < 1 || arguments > 3) {
lua_pushboolean(L, 0);
lua_pushstring(L, "incorrect-arguments");
+ return 2;
}
resource = luaL_checkstring(L, 1);