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:
drdani 2006-06-08 06:32:46 +00:00 committed by Adam Visegradi
parent ae68b2fff6
commit 0786bc9927
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ struct _DC_condor_event
int cluster;
int proc;
int subproc;
struct tm time;
time_t time;
};
struct _DC_Workunit

View File

@ -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,