diff --git a/assets/HypertextPages/list-rooms.nytl.html b/assets/HypertextPages/list-rooms.nytl.html index ddc4923..79b9f58 100644 --- a/assets/HypertextPages/list-rooms.nytl.html +++ b/assets/HypertextPages/list-rooms.nytl.html @@ -22,7 +22,7 @@ - + @@ -65,4 +65,4 @@ -{% ENDELDEF %} \ No newline at end of file +{% ENDELDEF %} diff --git a/assets/css/list-rooms.css b/assets/css/list-rooms.css index 0fa8ff2..4603a16 100644 --- a/assets/css/list-rooms.css +++ b/assets/css/list-rooms.css @@ -250,4 +250,4 @@ h1 { font-size: 28px; font-weight: bold; cursor: pointer; -} \ No newline at end of file +} diff --git a/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp b/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp index 55f150c..f69983b 100644 --- a/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp +++ b/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp @@ -76,7 +76,7 @@ namespace iu9cawebchat { int ret = sqlite3_prepare_v2(connection.hand, req_statement.c_str(), -1, &stmt_obj, NULL); if (ret != 0) { - int err_pos = sqlite3_error_offset(connection.hand); + int err_pos = -1; een9_THROW("Compilation of request\n" + req_statement + "\nfailed" + ((err_pos >= 0) ? " with offset " + std::to_string(err_pos) : "")); }