summaryrefslogtreecommitdiff
path: root/server/src/pracrodaopgsql.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/pracrodaopgsql.cc')
-rw-r--r--server/src/pracrodaopgsql.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/pracrodaopgsql.cc b/server/src/pracrodaopgsql.cc
index db0a9aa..3c7040a 100644
--- a/server/src/pracrodaopgsql.cc
+++ b/server/src/pracrodaopgsql.cc
@@ -627,9 +627,9 @@ void PracroDAOPgsql::setIdle(std::string sessionid, bool idle)
#endif/*WITHOUT_DB*/
#ifdef TEST_PRACRODAOPGSQL
-//deps: debug.cc log.cc configuration.cc exception.cc pracrodao.cc
-//cflags: -I.. $(PQXX_CXXFLAGS)
-//libs: $(PQXX_LIBS)
+//deps: debug.cc log.cc configuration.cc exception.cc pracrodao.cc mutex.cc
+//cflags: -I.. $(PQXX_CXXFLAGS) $(PTHREAD_CFLAGS)
+//libs: $(PQXX_LIBS) $(PTHREAD_LIBS)
#include <test.h>
#include <time.h>
@@ -681,8 +681,8 @@ commit.fields["field2"] = "world";
commit.templ = "tester";
Macro macro;
-macro.attributes["version"] = "1.0";
-macro.attributes["name"] = MACRO;
+macro.version = "1.0";
+macro.name = MACRO;
time_t now = time(NULL);