# | Line 16 | 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 87 | Line 89 | void HostStatus::display(const string& m | |
89 | hostupdate << '\n' << flush; | |
90 | } | |
91 | ||
92 | < | do |
92 | > | /* do |
93 | { | |
94 | string line; | |
95 | ||
# | Line 95 | 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 |