summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authordeva <deva>2008-03-18 15:46:53 +0000
committerdeva <deva>2008-03-18 15:46:53 +0000
commit8fd8b50d51b234011f00bab7b46cf56cfd760f99 (patch)
tree47c3f253117aa5dccc8e7d18049026d1601c45af /server/src
parent7e744c07d8867ad8687f874c30f3f651bc53fa89 (diff)
Debug output cleanup.
Diffstat (limited to 'server/src')
-rw-r--r--server/src/macro_parser.cc2
-rw-r--r--server/src/resumeparser.cc2
-rw-r--r--server/src/server.cc2
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++;
}
}