summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authordeva <deva>2011-01-27 11:21:25 +0000
committerdeva <deva>2011-01-27 11:21:25 +0000
commit34366d806d70184876ad7d195f21c7d4c257c778 (patch)
treea94a1335a182189bcf11d2fbf29a786e6f1a8a28 /server
parent1a748ff2826847c36e3b4859898447cac55b11d6 (diff)
Remove debug output via printf.
Diffstat (limited to 'server')
-rw-r--r--server/src/macrotool/export.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/server/src/macrotool/export.cc b/server/src/macrotool/export.cc
index c9dcbd1..d7f3729 100644
--- a/server/src/macrotool/export.cc
+++ b/server/src/macrotool/export.cc
@@ -62,7 +62,7 @@ public:
pos["patientid"] = 1;
pos["time"] = 2;
pos["template"] = 3;
-
+ /*
printf("%s\n", n.c_str());
size_t idx = 4;
@@ -74,7 +74,7 @@ public:
i++;
}
printf("\n");
-
+ */
output_header();
}
@@ -181,7 +181,7 @@ static void export_prefix(std::string prefix)
}
templates_t t = scanfieldnames(filter);
-
+ /*
templates_t::iterator ti = t.begin();
while(ti != t.end()) {
printf("%s\n", ti->first.c_str());
@@ -192,7 +192,7 @@ static void export_prefix(std::string prefix)
}
ti++;
}
-
+ */
{
pqxx::result result =
@@ -222,7 +222,8 @@ static void export_prefix(std::string prefix)
timestr = timestr.substr(0, timestr.size() - 1);
files[templ]->addcell("time", timestr.c_str());
- printf("%s %s %s\n", timestamp.c_str(), patientid.c_str(), templ.c_str());
+ DEBUG(export, "%s %s %s\n",
+ timestamp.c_str(), patientid.c_str(), templ.c_str());
{
pqxx::result result =