ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostStatus/Host.cpp
(Generate patch)

Comparing HostStatus/Host.cpp (file contents):
Revision 192 by Douglas Thrift, 2003-11-15T20:23:23-08:00 vs.
Revision 193 by Douglas Thrift, 2004-08-22T22:05:31-07:00

# Line 17 | Line 17 | void Host::setSince(const string& since)
17   #else
18          strptime(since.c_str(), "%m/%d/%Y %H:%M:%S", &when);
19   #endif
20 <
21 <        time_t time = timegm(&when);
22 <
23 <        memcpy(&when, localtime(&time), sizeof(struct tm));
20 >        mktime(&when);
21  
22          char then[61];
23  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines