mirror of https://github.com/BOINC/boinc.git
condor event updater doesn't return anything
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@665 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
parent
385e56fc6c
commit
58f04c9e68
|
@ -21,7 +21,7 @@
|
||||||
#include "condor_log.h"
|
#include "condor_log.h"
|
||||||
|
|
||||||
|
|
||||||
char *
|
void
|
||||||
_DC_wu_update_condor_events(DC_Workunit *wu)
|
_DC_wu_update_condor_events(DC_Workunit *wu)
|
||||||
{
|
{
|
||||||
ReadUserLog log;
|
ReadUserLog log;
|
||||||
|
@ -31,7 +31,7 @@ _DC_wu_update_condor_events(DC_Workunit *wu)
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
if (!wu)
|
if (!wu)
|
||||||
return(0);
|
return;
|
||||||
|
|
||||||
fn_org= g_string_new(wu->workdir);
|
fn_org= g_string_new(wu->workdir);
|
||||||
fn_org= g_string_append(fn_org, "/internal_log.txt");
|
fn_org= g_string_append(fn_org, "/internal_log.txt");
|
||||||
|
@ -47,7 +47,7 @@ _DC_wu_update_condor_events(DC_Workunit *wu)
|
||||||
"initialization failed for %s", fn_tmp->str);
|
"initialization failed for %s", fn_tmp->str);
|
||||||
g_string_free(fn_org, TRUE);
|
g_string_free(fn_org, TRUE);
|
||||||
g_string_free(fn_tmp, TRUE);
|
g_string_free(fn_tmp, TRUE);
|
||||||
return(0);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
i= 1;
|
i= 1;
|
||||||
|
@ -76,7 +76,7 @@ _DC_wu_update_condor_events(DC_Workunit *wu)
|
||||||
unlink(fn_tmp->str);
|
unlink(fn_tmp->str);
|
||||||
g_string_free(fn_org, TRUE);
|
g_string_free(fn_org, TRUE);
|
||||||
g_string_free(fn_tmp, TRUE);
|
g_string_free(fn_tmp, TRUE);
|
||||||
return(0);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ extern "C" {
|
||||||
#include "dc.h"
|
#include "dc.h"
|
||||||
|
|
||||||
|
|
||||||
extern char *_DC_wu_update_condor_events(DC_Workunit *wu);
|
extern void _DC_wu_update_condor_events(DC_Workunit *wu);
|
||||||
extern DC_MasterEvent *_DC_wu_condor2api_event(DC_Workunit *wu);
|
extern DC_MasterEvent *_DC_wu_condor2api_event(DC_Workunit *wu);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue