Commit b64d1a32 authored by jan.koester's avatar jan.koester
Browse files

test

parent c82d8c17
Loading
Loading
Loading
Loading
+1 −1
Changes for CMakeLists.txt: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
find_package(libnetplus REQUIRED)
find_package(libhtmlpp REQUIRED)
find_package(libhttppp REQUIRED)
find_package(Hiredis REQUIRED)
find_package(Hiredis 1.2 REQUIRED)
find_package(Brotli REQUIRED)
find_package(libcmdplus REQUIRED)
find_package(libconfplus REQUIRED)
−68

File deleted.

+1 −1
Changes for src/session.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ const std::string &blogi::Session::createSession(std::string &buf,const std::str
    char ttmp[26];
    if (localtime_r(&t, &time) == 0) {
        if (asctime_r(&time, ttmp) == 0) {
            sql << "INSERT INTO session (id,useragent,created) VALUES ('" << sessionid.c_str() << "','" << useragent << "','" << ttmp << "');";
            sql << "INSERT INTO session (id,useragent,created) VALUES ('" << sessionid.c_str() << "','" << useragent.c_str() << "','" << ttmp << "');";
            _sessiondb->exec(sql, res);
        }
    }