summaryrefslogtreecommitdiff
path: root/server/src/journal_commit.cc
diff options
context:
space:
mode:
authordeva <deva>2009-02-27 11:56:58 +0000
committerdeva <deva>2009-02-27 11:56:58 +0000
commit0e6a13e517c3b2f0c73dc9f31247e6f8d1688820 (patch)
tree8961b23203e0e0da5d2e06cb4419e23142343d25 /server/src/journal_commit.cc
parent12ba89fb1b6c6094c7646431a98dceeb382a38c8 (diff)
Added generator to journal commit
Diffstat (limited to 'server/src/journal_commit.cc')
-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));