Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug correction: substitution of deprecated function.

  • Loading branch information...
commit d2ff12b877a385ba3ae440f50735445151658667 1 parent c527024
@tomasguisasola tomasguisasola authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/ls_odbc.c
View
2  src/ls_odbc.c
@@ -130,7 +130,7 @@ static int fail(lua_State *L, const SQLSMALLINT type, const SQLHANDLE handle) {
sizeof(Msg), &MsgSize);
if (ret == SQL_NO_DATA) break;
luaL_addlstring(&b, Msg, MsgSize);
- luaL_putchar(&b, '\n');
+ luaL_addchar(&b, '\n');
i++;
}
luaL_pushresult(&b);
Please sign in to comment.
Something went wrong with that request. Please try again.