From 0e6a13e517c3b2f0c73dc9f31247e6f8d1688820 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 27 Feb 2009 11:56:58 +0000 Subject: Added generator to journal commit --- server/src/journal_commit.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); -- cgit v1.2.3