summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/journal_commit.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/journal_commit.cc b/server/src/journal_commit.cc
index 9800fb7..57d8987 100644
--- a/server/src/journal_commit.cc
+++ b/server/src/journal_commit.cc
@@ -113,7 +113,8 @@ int journal_commit(const char *cpr, const char *user,
// send header
mwrite(sock, "PUT JOURNAL PROTO1.0 \r\n");
mwrite(sock, "size : %i\r\n", size);
- mwrite(sock, "user: %s\r\n", user);
+ mwrite(sock, "user: %s(pracro)\r\n", user);
+ mwrite(sock, "generator: pracro\r\n");
// mwrite(sock, "password: 1234\r\n");
mwrite(sock, "cpr: %s\r\n", cpr);
mwrite(sock, "date: %i\r\n", time(NULL));