mirror of https://github.com/BOINC/boinc.git
store time_t of condor events instead of struct tm
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@652 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
parent
ae68b2fff6
commit
0786bc9927
|
@ -24,7 +24,7 @@ struct _DC_condor_event
|
|||
int cluster;
|
||||
int proc;
|
||||
int subproc;
|
||||
struct tm time;
|
||||
time_t time;
|
||||
};
|
||||
|
||||
struct _DC_Workunit
|
||||
|
|
|
@ -61,7 +61,7 @@ _DC_wu_update_condor_events(DC_Workunit *wu)
|
|||
e.cluster= event->cluster;
|
||||
e.proc= event->proc;
|
||||
e.subproc= event->subproc;
|
||||
e.time= event->eventTime;
|
||||
e.time= mktime(&(event->eventTime));
|
||||
g_array_append_val(wu->condor_events, e);
|
||||
DC_log(LOG_DEBUG, "Condor event %d %s",
|
||||
event->eventNumber,
|
||||
|
|
Loading…
Reference in New Issue