# | Line 5 | Line 5 | |
---|---|---|
5 | // $Id$ | |
6 | ||
7 | #include "HostStatus.hpp" | |
8 | + | #include "Host.hpp" |
9 | ||
10 | int main(int argc, char* argv[]) | |
11 | { | |
# | Line 15 | Line 16 | int main(int argc, char* argv[]) | |
16 | ||
17 | HostStatus::HostStatus() | |
18 | { | |
19 | + | sputenv("TZ=:America/Los_Angeles"); |
20 | + | |
21 | string method = sgetenv("REQUEST_METHOD"); | |
22 | ||
23 | parse(method); | |
# | Line 86 | Line 89 | void HostStatus::display(const string& m | |
89 | hostupdate << '\n' << flush; | |
90 | } | |
91 | ||
92 | < | do |
92 | > | /* do |
93 | { | |
94 | string line; | |
95 | ||
# | Line 94 | Line 97 | void HostStatus::display(const string& m | |
97 | ||
98 | cout << line << '\n'; | |
99 | } | |
100 | < | while (hostupdate.good()); |
100 | > | while (hostupdate.good());*/ |
101 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |