webmcp

diff libraries/mondelefant/mondelefant_native.c @ 421:c343ce9092ee

Added downward-compatibility code for mondelefant.connect{engine='postgresql', ...} call
author jbe
date Tue Jan 12 18:57:17 2016 +0100 (2016-01-12)
parents 4ae9850d6954
children 837690e70cae
line diff
     1.1 --- a/libraries/mondelefant/mondelefant_native.c	Tue Jan 12 18:39:32 2016 +0100
     1.2 +++ b/libraries/mondelefant/mondelefant_native.c	Tue Jan 12 18:57:17 2016 +0100
     1.3 @@ -228,7 +228,6 @@
     1.4        luaL_buffinit(L, &buf);
     1.5        while (lua_pushvalue(L, 2), lua_next(L, 1)) {
     1.6          luaL_argcheck(L, lua_isstring(L, -2), 1, "key in table is not a string");
     1.7 -        luaL_argcheck(L, lua_isstring(L, -1), 1, "value in table is not a string");
     1.8          value = luaL_tolstring(L, -1, &value_len);
     1.9          lua_replace(L, 3);
    1.10          lua_pop(L, 1);

Impressum / About Us