summaryrefslogtreecommitdiff
path: root/server/src/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/database.h')
-rw-r--r--server/src/database.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/database.h b/server/src/database.h
index a841188..91a09f4 100644
--- a/server/src/database.h
+++ b/server/src/database.h
@@ -30,6 +30,7 @@
#include <pqxx/pqxx>
#include <string>
#include "transaction.h"
+#include <time.h>
class Database {
public:
@@ -38,7 +39,7 @@ public:
std::string password = "pracro");
~Database();
- int post(std::string &user, std::string &cpr, std::string &time, Commit &commit);
+ int post(std::string &user, std::string &cpr, time_t now, Commit &commit);
private:
pqxx::connection c;