From 8fd8b50d51b234011f00bab7b46cf56cfd760f99 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 18 Mar 2008 15:46:53 +0000 Subject: Debug output cleanup. --- server/src/macro_parser.cc | 2 +- server/src/resumeparser.cc | 2 +- server/src/server.cc | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'server/src') diff --git a/server/src/macro_parser.cc b/server/src/macro_parser.cc index 7fc9609..62c74ca 100644 --- a/server/src/macro_parser.cc +++ b/server/src/macro_parser.cc @@ -71,7 +71,7 @@ static void start_hndl(void *p, const char *el, const char **attr) // Do something reasonable with them... if(name == "macro") { - printf("Macro %s %s\n", attributes["name"].c_str(), attributes["resume"].c_str()); + // printf("Macro %s %s\n", attributes["name"].c_str(), attributes["resume"].c_str()); parser->macro->name = attributes["name"]; parser->macro->format = attributes["resume"]; // return; diff --git a/server/src/resumeparser.cc b/server/src/resumeparser.cc index 769bb25..5826c70 100644 --- a/server/src/resumeparser.cc +++ b/server/src/resumeparser.cc @@ -53,7 +53,7 @@ std::string resume_parser(const char *format, Commit &commit) p++; } // p++; - printf("[%s]\n", var.c_str()); + //printf("[%s]\n", var.c_str()); // resume += "var(" + var + ")"; resume += commit.fields[var]; break; diff --git a/server/src/server.cc b/server/src/server.cc index 756539f..c88de4d 100644 --- a/server/src/server.cc +++ b/server/src/server.cc @@ -125,6 +125,8 @@ static void connection(TCPSocket &socket) journal_commit_addr.c_str(), journal_commit_port, resume.c_str(), resume.length()); + // printf(resume.c_str()); + i++; } } -- cgit v1.2.3