diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/macro_parser.cc | 2 | ||||
-rw-r--r-- | server/src/resumeparser.cc | 2 | ||||
-rw-r--r-- | server/src/server.cc | 2 |
3 files changed, 4 insertions, 2 deletions
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++; } } |