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:
drdani 2006-06-09 11:40:10 +00:00 committed by Adam Visegradi
parent 385e56fc6c
commit 58f04c9e68
2 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@
#include "condor_log.h"
char *
void
_DC_wu_update_condor_events(DC_Workunit *wu)
{
ReadUserLog log;
@ -31,7 +31,7 @@ _DC_wu_update_condor_events(DC_Workunit *wu)
unsigned int i;
if (!wu)
return(0);
return;
fn_org= g_string_new(wu->workdir);
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);
g_string_free(fn_org, TRUE);
g_string_free(fn_tmp, TRUE);
return(0);
return;
}
i= 1;
@ -76,7 +76,7 @@ _DC_wu_update_condor_events(DC_Workunit *wu)
unlink(fn_tmp->str);
g_string_free(fn_org, TRUE);
g_string_free(fn_tmp, TRUE);
return(0);
return;
}

View File

@ -12,7 +12,7 @@ extern "C" {
#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);