Browse Source

added fucntionname to errormsg

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@476 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/heads/lighttpd-1.3.x
Jan Kneschke 17 years ago
parent
commit
487dd60613
  1. 4
      src/mod_cml_funcs.c

4
src/mod_cml_funcs.c

@ -49,12 +49,12 @@ int f_crypto_md5(lua_State *L) {
b.size = sizeof(hex);
if (n != 1) {
lua_pushstring(L, "expected one argument");
lua_pushstring(L, "md5: expected one argument");
lua_error(L);
}
if (!lua_isstring(L, 1)) {
lua_pushstring(L, "argument has to be a string");
lua_pushstring(L, "md5: argument has to be a string");
lua_error(L);
}

Loading…
Cancel
Save