wrapper: use diag defaults

svn path=/trunk/boinc_samples/; revision=12849
This commit is contained in:
David Anderson 2007-06-08 07:44:58 +00:00
parent 7c350ed33e
commit c78444daa8
2 changed files with 6 additions and 7 deletions

View File

@ -362,3 +362,9 @@ David 28 May 2007
wrapper/
job.xml
wrapper.C
David 8 June 2007
- Wrapper: use default diag options
wrapper/
wrapper.C

View File

@ -434,13 +434,6 @@ int main(int argc, char** argv) {
int ntasks;
double cpu;
boinc_init_diagnostics(
BOINC_DIAG_DUMPCALLSTACKENABLED
| BOINC_DIAG_HEAPCHECKENABLED
| BOINC_DIAG_MEMORYLEAKCHECKENABLED
| BOINC_DIAG_TRACETOSTDERR
);
memset(&options, 0, sizeof(options));
options.main_program = true;
options.check_heartbeat = true;